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 indentation for item levels.
Get
VB.NET | Indent = object.Indentation As Single |
VB | Indent = object.Indentation As Single |
C#.NET | float Indent = object.Indentation; |
VC++ | float Indent = object->Indentation; float Indent = object->GetIndentation(); |
C | HRESULT object->get_Indentation(float* Indent); |
Put
VB.NET | object.Indentation = Indent As Single |
VB | object.Indentation = Indent As Single |
C#.NET | float object.Indentation = Indent; |
VC++ | float object->Indentation = Indent; void object->PutIndentation(float Indent); |
C | HRESULT object->put_Indentation(float Indent); |
object
A SftTreeItems object.
Indent
Defines the indentation for item levels. If -1 is specified, the tree control determines the best indentation, based on item graphic width, font size, etc. The units used depend on the container (Visual Basic, Visual C++, etc.) and the coordinate system used.
The Indentation property defines the indentation for item levels.
The Indentation and Items.IndentationPix methods are synonyms, but may use different coordinate systems.
Each item is indented the specified amount for each level.
It is possible to specify a very small value or even 0 for the level indentation. With such a small value, the hierarchy and its components, such as tree lines, expand/collapse buttons may no longer have sufficient space and must be turned off by the application.
The Items.ItemImageAlign property can be used to define the alignment of connecting tree lines, cell text and cell pictures.
See Also SftTreeItems Object | Object Hierarchy