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 font used to display tab text.
Get | |||
VB | Set refFontObj = object.Font As IFontDisp | ||
Put | |||
VB | object.Font = refFontObj As IFontDisp | ||
PutRef | |||
VB | Set object.Font = refFontObj As IFontDisp |
object
refFontObj
A reference to a Font object.
The Font property defines the font used to display tab text.
All tabs use the same font. Individual tabs cannot override the font used.
The font weight (Bold property) is ignored and a "Normal" font is used. The Tabs.BoldActive property can be used to define a bold font attribute for the currently active tab.
A tab control which displays tab text using a rotated font (i.e., a vertical tab control) must use a TrueType font. If a font other than a TrueType font is defined, SftTabs/OCX automatically uses an Arial, 8 point font instead.
Using PutRef (see Syntax above) the control will use the reference to the Font object. If the Font object is later changed, this will also affect the font used by the control. Using Put instead, causes the control to create a copy of the Font object. If the Font object is later changed, this will not affect the font used by the control as it uses a copy of the object. Because of the additional overhead and the increased resource use of Put, PutRef is the preferred method.
Private Sub Form_Load() SftTabs1.Font.Name = "Arial" SftTabs1.Font.Size = 10 SftTabs1.Font.Italic = True End Sub
See Also SftTabs Object | Object Hierarchy