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
Resizes the column to its optimal width.
VB.NET | object.MakeOptimal(ByVal MaxScan As Integer) |
VB | object.MakeOptimal(ByVal MaxScan As Long) |
C#.NET | void object.MakeOptimal(int MaxScan); |
VC++ | HRESULT object->MakeOptimal(long MaxScan); |
C | HRESULT object->raw_MakeOptimal(long MaxScan); |
object
A SftDirectoryColumn object.
MaxScan
The maximum number of items to be evaluated for optimal column width and horizontal scrolling calculation. If 0 is specified, all items will be considered. This parameter can be used to limit the optimization, which may be time-consuming if many folders are displayed by the control.
The MakeOptimal method resizes the column to its optimal width.
The MakeColumnsOptimal method can be used to resize all columns optimally.
See Also SftDirectoryColumn Object | Object Hierarchy