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:
IMAGEINDEX may be used in GETPROP or SETPROP statements of a TOOLBUTTON or ICON (9.0) object.
{value} is a decimal number, a Numeric Variable, or an Expression defining the image position.
A {value} of zero indicates no image. A {value} of one indicates the first image in the IMAGELIST object.
A TOOLBAR object contains a default IMAGELIST but this can be changed using the SetImageList, SetImageListDisabled, and SetImageListHot TOOLBAR object methods.
When using the PL/B Web Server, this property is not supported.
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |