Hide

SftDirectory 3.5 - ActiveX File/Folder Control

Display
Print

SftDirectoryColumn.Width Property

Defines the column's width.

Syntax

Get

VB.NETWidth = object.Width As Single
VBWidth = object.Width As Single
C#.NETfloat Width = object.Width;
VC++float Width = object->Width;
float Width = object->GetWidth();
CHRESULT object->get_Width(float* Width);

Put

VB.NETobject.Width = Width As Single
VBobject.Width = Width As Single
C#.NETfloat object.Width = Width;
VC++float object->Width = Width;
void object->PutWidth(float Width);
CHRESULT 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.

Comments

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


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