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 second graphic displayed in the tab along the right side/bottom, when the tab is highlighted due to flyby highlighting.
Get | |||
VB | Set refImageObj = object.Image2Hot As SftPictureObject | ||
Put | |||
VB | object.Image2Hot = refImageObj As SftPictureObject |
object
refImageObj
Defines the second graphic displayed in this tab, when the tab is highlighted due to flyby highlighting.
The Image2Hot property defines the second graphic displayed in the tab along the right side/bottom, when the tab is highlighted due to flyby highlighting.
The graphic defined by the Image2Hot property is always displayed at the right side of the tab (or bottom, depending on tab style), which cannot be changed. The graphic is rendered to the right (bottom) of the tab text/image. The distance is defined using the Image2GapPix property.
The Image2 property defines the default graphic for the second graphic. The Image2Active property defines the second graphic for the active tab. The Image2Disabled property is used when the tab is disabled (see SftTabsTab.Enabled). The Image2Hot property is used for flyby highlighting.
When the SftTabsTab.CloseButton property is set to True to support a tab close button, the Image2 property and the associated Image2, Image2Active, Image2Disabled and Image2GapPix are set using predefined images/values and cannot be used for any other purposes.
Private Sub Form_Load() With SftTabs1.Direct .Tab(0).Image2.LoadImage App.Path & "\sample.gif", True .Tab(0).Image2Active.Image = .Tab(0).Image2.Image .Tab(1).Image2.Image = .Tab(0).Image2.Image .Tab(1).Image2Active.Image = .Tab(1).Image2.Image .Tab(0).Image2Hot.LoadImage App.Path & "\sample2.gif", True .Tab(1).Image2Hot.Image = .Tab(0).Image2Hot.Image End With End Sub
See Also SftTabsTab Object | Object Hierarchy