ICON


PLBCMP GUI Only

square.png Properties

square.png Events

square.png Methods

square.png Instructions

 

The ICON instruction defines an object variable for a standard GUI 32 by 32 pixel icon. ICONs are visual devices that also support drag/drop operations. To define an ICON, use one of the following statement formats:

 

(1)

[label]

ICON

[%]

(2)

[label]

ICON

(arraysize)

(3)

[label]

ICON

^

(4)

[label]

ICON

^,{target}

(5)

[label]

ICON

^(arraysize)

(6)

[label]

ICON

^(arraysize),({target}),...,({target})

 

Where:

label

Optional. A Data Label.

%

Optional. Denotes the item as being GLOBAL.

arraysize

Required. An integer decimal constant, CONST variable, or EQUATEd value indicating the number of array items.

^

Optional. Denotes the item as being a POINTER.

target

Required. The name of a previously defined data item of the same type.

Flags Affected: NONE

Note the following:

  1. An ICON contains no items.

  2. Multi-dimension arrays are supported up to a maximum of fourteen dimensions.

  3. The ^ denotes Pointer Variable.

  4. Although an ICON may be defined as Global, it is DESTROYed during a CHAIN instruction.

 

 

See Also: Example Code, Object Definitions, Object Output Instructions

 



PL/B Language Reference HTMLCONTROL IMAGELIST