method ExplorerBar.Images (Handle as Variant)
Sets the control's handle image list.

 TypeDescription 
   Handle as Variant A long expression that identifies a handle to an Image list ( the Handle should be of HIMAGELIST type ) or a string expression that indicates the base64 encoded string that holds the icons list. Use the eximages tool to save your icons as base64 encoded format.  

The control provides an image list window, that's displayed at design time. Use the ShowImageList property to hide the image list window, at design time. At design time, the user can add new icons to the control's Images collection, by dragging icon files, exe files, etc, to the images list window. At runtime, the user can use the Images and ReplaceIcon method to change the Images collection. Use the Image property to assign a picture to a group. Use the Image property to assign a picture to an item. Use the SmallIcons property to specify the size of the icons being displayed. Use the <img> HTML tag to insert icons inside the cell's caption, if the CaptionFormat property is exHTML. For instance, the "some image <img>1</img> other image <img>2</img> rest of text", displays combined text and icons in the item's caption.

The following VB sample uses the Microsoft Image List control:

ExplorerBar1.Images ImageList1.hImageList

The following VB sample loads a collection of icons from a BASE64 encoded string:

The following C++ sample loads a collection of icons from a BASE64 encoded string:

The following VB.NET sample loads a collection of icons from a BASE64 encoded string:

The following C# sample loads a collection of icons from a BASE64 encoded string:

The following VFP sample loads a collection of icons from a BASE64 encoded string:

The following Template sample loads a collection of icons from a BASE64 encoded string:

 
 
 

Send comments on this topic.
© 1999-2008 Exontrol Inc, Software. All rights reserved.