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 an item's cell text.
Deprecated - Provided for compatibility with earlier versions only - Use Cell.Font instead
Get
Put
PutRef
object
ItemIndex
The zero-based item index. The combination of ItemIndex and ColIndex describes an individual cell.
ColIndex
The zero-based column number. The combination of ItemIndex and ColIndex describes an individual cell.
refFontObj
Defines the font used to display an item's cell text. For information about font properties, please visit the applicable section "Using SftTree/OCX with ...".
Deprecated - Provided for compatibility with earlier versions only - Use Cell.Font instead
The CellFont property defines the font used to display an item's cell text.
The CellFont property overrides the control's Font property for the specified cell. If the CellFont property is not set for a particular cell, the control's Font property is used to draw the cell text instead. The CellFont property can be set to the value Nothing, which restores the tree control's default font, defined using the Font property.
When using fixed height items (see Items.Style) and the CellFont property describes a font that is larger than the control's Font property, cell text will be clipped vertically. Items do not adjust their height to the CellFont property. Cell text is centered vertically and horizontally based on the Cell.TextVAlign and Cell.TextHAlign properties.
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.
See Also SftTree Object | Object Hierarchy