[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Ordinal position for the image displayed for the band.
Source position: comctrls.pp line 2518
published property TCoolBand.ImageIndex : TImageIndex |
ImageIndex is a TImageIndex property which contains the ordinal position for the image displayed for the band. The value refers to the position in the Images property in TCoolBar where the image is stored. The default value for the property is -1 and indicates an image has not been assigned for the band.
Changing the value for the property causes the Changed method to be called to update the item in the bands collection in the parent control.
ImageIndex is used (when assigned) in the CalcControlLeft method when the positions for the image and text, and horizontal spacing are calculated for the band. It is also used when the preferred width and height are calculated for the band. It is used in the Paint method in TCustomCoolBar when the icon for the band is drawn.
|
Calculates the left coordinate for the Control in the band. |
|
|
Calculates the band height using the orientation and settings in the parent control. |
|
|
Contains images displayed on the bands for the control. |
|
|
Draws the visible bands for the control on its Canvas. |
|
|
Type used for an image list index (integer). |
Version 4.0 | Generated 2025-05-03 | Home |