Hide

SftDirectory 3.5 - ActiveX File/Folder Control

Display
Print

SftDirectoryColumn.MakeOptimal Method

Resizes the column to its optimal width.

Syntax

VB.NETobject.MakeOptimal(ByVal MaxScan As Integer)
VBobject.MakeOptimal(ByVal MaxScan As Long)
C#.NETvoid object.MakeOptimal(int MaxScan);
VC++HRESULT object->MakeOptimal(long MaxScan);
CHRESULT 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.

Comments

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


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.