IMAGEINDEX Property


PLBCMP GUI Only

 

The IMAGEINDEX property references the one-based indexed value of the images in an IMAGELIST object assigned to the object. The property uses the following format:

 

IMAGEINDEX={value}

Note the following:

  1. IMAGEINDEX may be used in GETPROP or SETPROP statements of a TOOLBUTTON or ICON (9.0) object.

  2. {value} is a decimal number, a Numeric Variable, or an Expression defining the image position.

  3. A {value} of zero indicates no image. A {value} of one indicates the first image in the IMAGELIST object.

  4. A TOOLBAR object contains a default IMAGELIST but this can be changed using the SetImageList, SetImageListDisabled, and SetImageListHot TOOLBAR object methods.

  5. When using the PL/B Web Server, this property is not supported.

 

 

See Also: Object Properties, Object IO Instructions, Object Definitions

 



PL/B Language Reference IMAGECOLORS Property IMAGELIST Property