Label Function Keys

Top  Previous  Next

This function sets the tooltips for the function key buttons when the Function Keys window is shown.

Parameter

Value or Description

Lead in

CHR$(27) CHR$(2)

Function key #

see below

Tool tip text

80 characters max followed with CHR$(0)

 

The function key number is 0-15 for function keys F1-F16 and 16-31 for function keys Shift F1-Shift F16 PLUS CHR$(32).

Example

To label function key F1 with the tooltip "Help...":

PRINT CHR$(27);CHR(2);

PRINT CHR$(0 + 32);

PRINT "Help...";CHR$(0);