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 graphic displayed in the tab.
Get | |||
VB | Set refImageObj = object.Image As SftPictureObject | ||
Put | |||
VB | object.Image = refImageObj As SftPictureObject |
object
refImageObj
Defines the graphic displayed in this tab.
The Image property defines the graphic displayed in the tab.
The display and alignment of the tab's graphic component can be defined using the Tab.Align property.
The Image, ImageDisabled and ImageHot properties define the graphic displayed in the tab, depending on the tab's status. The images defined for one tab using the Image, ImageDisabled and ImageHot properties should be the same size.
If the Image property defines an image, the Picture property has no effect.
This example adds an image, loaded from a file, to the first tab. The image is then copied to the second tab.
Private Sub Form_Load() With SftTabs1.Direct .Tab(0).Image.LoadImage App.Path & "\sample.gif", True .Tab(1).Image.Image = .Tab(0).Image.Image End With End Sub
See Also SftTabsTab Object | Object Hierarchy