SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines the default graphic used to display an expandable item's item image.
Get
VB.NET | refImageObj = object.ItemImageExpandable As SftPictureObject |
VB | Set refImageObj = object.ItemImageExpandable As SftPictureObject |
C#.NET | SftPictureObject refImageObj = object.ItemImageExpandable; |
VC++ | ISftPictureObject* refImageObj = object->ItemImageExpandable; ISftPictureObject* refImageObj = object->GetItemImageExpandable(); |
C | HRESULT object->get_ItemImageExpandable(ISftPictureObject** refImageObj); |
Put
VB.NET | object.ItemImageExpandable = refImageObj As SftPictureObject |
VB | object.ItemImageExpandable = refImageObj As SftPictureObject |
C#.NET | SftPictureObject object.ItemImageExpandable = refImageObj; |
VC++ | ISftPictureObject* object->ItemImageExpandable = refImageObj; void object->PutItemImageExpandable(ISftPictureObject* refImageObj); |
C | HRESULT object->put_ItemImageExpandable(ISftPictureObject* refImageObj); |
object
refImageObj
Defines the default graphic used to display an expandable item's item image.
The ItemImageExpandable property defines the default graphic used to display an expandable item's item image.
The ItemPictureExpandable property is used to define the default item graphic displayed for an expandable item, which is currently collapsed.
The ItemImageExpandable, Items.ItemImageExpanded and Items.ItemImageLeaf properties must each be set to a valid image, otherwise they have no effect.
Sample bitmaps can be found in the directory \Program Files\Softelvdm\SftBox OCX 5.0\Samples\Bitmaps. E.g., ItemExp.bmp and ItemExp2.bmp contain suitable sample images for the ItemImageExpandable property.
When using fixed height items (see Items.Style), all graphics used in a combo box control as Item.Image, ItemImageExpandable, Items.ItemImageExpanded and Items.ItemImageLeaf properties at the same time must be the same size (height and width). The dimensions of the graphics are used to calculate the minimum dimension for items, so graphics used as item graphics are never clipped vertically. To change the item graphic size, all item graphics must be removed first using the Items.ClearItemImages method.
When using variable height items (see Items.Style), the graphics used can be of varying size. The item height is adjusted automatically, so graphics are never clipped vertically.
If an item is disabled (see Item.Enabled property), the graphic is drawn in a "grayed" fashion.
The ItemPictureExpandable property can be set to the value Nothing (NULL). Default item graphics are then no longer displayed. The Item.Image properties remain unchanged.
The VAlignStyle property can be used to define the vertical alignment of item graphics.
If the image object refImageObj defines a bitmap, the top, left pixel of the bitmap must contain the bitmap's background color. This color will be replaced throughout the bitmap with the actual background (see Bitmap Transparency).
See Also SftBoxItems Object | Object Hierarchy