piImage - cToolbarButton
Set this property to the index of an image in an imagelist
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
Property Integer piImage
| Access Type | Syntax |
|---|---|
| Read Access: | Get piImage to IntegerVariable |
| Write Access: | Set piImage to IntegerVariable/Value |
Description
Set the piImage property to the index of an image in an imagelist. The toolbar can have three imagelists (set with phoImageList, phoImageListDisabled and phoImageListHot), but the indexes within them must be synchronized. So, for example, if you set the piImage to 3, this means that the fourth image (they are zero-based) in each imagelist will be displayed as appropriate.
If you do not want an image to be displayed on a button, set this property to iiNoImage. This can be useful in toolbars that have their pbList property set to True.
Default is 0.