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 picture object as an ImageList image.
VB | object.SetImageList(ByVal ImageList As Object, ByVal ImageIndex As Integer) |
object
ImageList
An ImageList control (supporting the IImageList interface).
ImageIndex
The one-based index of the image in the ImageList control to be used as graphic.
The SetImageList method defines the picture object as an ImageList image.
SetImageList only supports ActiveX ImageList controls that offer an IImageList interface. GetImageListH and SetImageListH support a window handle based ImageList control (Common Controls).
The SftPictureObject.Type property is set to sftTypeImageList. The SftPictureObject.ActualHeight and SftPictureObject.ActualWidth properties reflect the image size.
This example adds the first image from an ImageList control to the first tab.
With SftTabs1.Direct .Tab(0).Image.SetImageList ImageList1, 1 End With
See Also SftPictureObject Object | Object Hierarchy