Returns or sets the object to be used for storing images displayed when a button is in a normal state.
Object.ImageList [ = obImageList ]
The ImageList property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
AToolBar |
AToolBar control |
|
obImageList |
AImageList object. |
For a control to use the ImageList property, you must place an AImageList control on the form. Then, at design time, you can set the ImageList property in the associated control's Property Pages dialog box. To associate an AImageList with a control at run time, set the control's ImageList property to the AImageList control you want to use.
The following statement sets the AImageList control to be used for storing images displayed when an AToolBarButton is in a normal state to imglNormal:
tbr1.ImageList=imglNormal