<<

Contents

Search

>>

 

ICONMODE

 

 

Instruction

 

 

Syntax:

ICONMODE(<Number of Icon>) = <Mode>

 

<Number of Icon>

= <NUM-EXPRESSION>

<Mode>

= <NUM-EXPRESSION>

 

 

Meaning:

Defines the icon mode.

 

ICONMODE controls if the icons, after they have been pressed, are displayed in the default mode or pressed mode.  If <Mode> = 1 is set for an icon, the icon is displayed in the normal (not pressed) mode after it has been pressed. With any other value, the mode toggles between ‘pressed mode’ and ‘default mode’ with every time the icon is pressed; which means the icon remains pressed after it has been pressed once. It is only displayed in the default mode again after it has been pressed again.

 

With <Mode> = 2 the icon is immediately displayed in the pressed mode and with <Mode> = 1 in the default mode. With any other value the current mode of the icon is not changed.

 

The default setting at the start of the program is 1 for all icons.

 

Parameter:

Number of Icon

Number of icon

Mode

Mode

 

Sample:

ICONMODE(5) = 2

 

See also:

MAXICONS