TdxCustomStatusBar.Images Property
Specifies the TImageList collection containing bitmaps that you can add to the status bar.
Declaration
property Images: TCustomImageList read; write;
Property Value
Type |
---|
TCustomImageList |
Remarks
Use the Images property if you wish to associate a TImageList collection with a status bar text panel. That is useful when you wish to have custom bitmap(s) on your status bar. For example, you may wish to display icons to represent the connection state or a warning sign to inform the user about an abnormal state. You can do that in the following way:
Drop a TImageList or TcxImageList collection to your form and add images to it.
Assign this collection to the status bar’s
Images
property.Add a new panel to the status bar.
Select Text Panel in the panel’s PanelStyle property.
Assign the relevant index to the ImageIndex property of your panel.
As a result, the image is shown in the leftmost section of the sample status bar below: