property Group.Image as Variant
Specifies the index of the group's icon.

 TypeDescription 
   Variant A long expression that indicates the index of icon being used, a string expression that indicates the base64 encoded string that holds a picture object, a Picture object. Use the eximages tool to save your picture as base64 encoded format.  

Use the Image property to assign an icon or a picture to the group. Use the ImageAlignment property to align the image inside the group's header. Use the Images and ReplaceIcon methods to update the images list collection, at runtime. Use the Image property to assign a picture to an item. The GroupHeight property specifies the height of the caption for all groups, in pixels.

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-2015 Exontrol.COM, Software. All rights reserved.