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 column's width.
Get
VB.NET | Width = object.Width As Single |
VB | Width = object.Width As Single |
C#.NET | float Width = object.Width; |
VC++ | float Width = object->Width; float Width = object->GetWidth(); |
C | HRESULT object->get_Width(float* Width); |
Put
VB.NET | object.Width = Width As Single |
VB | object.Width = Width As Single |
C#.NET | float object.Width = Width; |
VC++ | float object->Width = Width; void object->PutWidth(float Width); |
C | HRESULT object->put_Width(float Width); |
object
A SftDirectoryColumn object.
Width
Defines the column's width. The units used depend on the container (Visual Basic, Visual C++, etc.) and the coordinate system used.
The Width property defines the column's width.
The last displayed column always uses all remaining display space and ignores the Width property.
Due to the variable number of levels and the resulting hierarchical display, the width of the first column is always treated as a required, smallest width. The text portion of the first column will always be at least of the specified width, no matter what level the folder is on. This can result in the first column being much wider than the defined width.
The WidthPix property can be used to define the column's width using pixels.
The Column.MakeOptimal method can be used to determine and set the best width for a column.
See Also SftDirectoryColumn Object | Object Hierarchy