method HTML.ToolBarImages (Handle as Variant)
Sets at runtime the toolbar's image list. The Handle should be a handle to an Images List Control.

TypeDescription
Handle as Variant The Handle parameter could be:
  • A long expression that identifies a handle to an Image List Control ( the Handle should be of HIMAGELIST type ). On 64-bit platforms, the Handle parameter must be a Variant of LongLong / LONG_PTR data type ( signed 64-bit (8-byte) integers ), saved under llVal field, as VT_I8 type. The LONGLONG / LONG_PTR is __int64, a 64-bit integer. For instance, in C++ you can use as Images( COleVariant( (LONG_PTR)hImageList) ) or Images( COleVariant( (LONGLONG)hImageList) ), where hImageList is of HIMAGELIST type. The GetSafeHandle() method of the CImageList gets the HIMAGELIST handle.
  • A string expression that indicates the BASE64 encoded string that holds the icons list. Use the Exontrol's ExImages Tool to save/load your icons as BASE64 encoded format. In this case the string may begin with "gBJJ..."
  • A string expression that specifies the ICO file to be loaded. The ICO file format is an image file format for computer icons in Microsoft Windows. ICO files contain one or more small images at multiple sizes and color depths, such that they may be scaled appropriately. For instance, Images("e:\working\sync.ico") method  adds the sync.ico file to the control's Images collection. ( available for DPI-Aware version only )
By default, the ToolBarImages contains the following icons ( you can use the ToolBarReplaceIcon method to replace any of the following ):

The ToolBarImages / ToolBarReplaceIcon methods defines the icons to be displayed on the control's toolbar. You can use the <img> HTML tag to display an icon in the control's toolbar through the ToolBarItems property of the control. The ToolBarHTMLPicture property adds/removes custom-size pictures to be shown on the control's tollbar. The ToolBarItems property defines the control's toolbar format. The TollBarSize specifies the size / visibility of the control's toolbar. The ToolBarEvent event notifies your application that the user selects, edits, checks or un-checks an item in the control's toolbar.  The ToolBarAnchor property gets or sets the edge of the control to which the toolbar is bound and determines how the toolbar is resized with its control.  The ToolBarBorderSize property specifies the size of the border of the control's toolbar.