Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxHeader.Locked Property

Defines whether this column header's size is locked so the user cannot resize the column.

Syntax

Get

VB.NETBoolean = object.Locked As Boolean
VBBoolean = object.Locked As Boolean
C#.NETbool Boolean = object.Locked;
VC++VARIANT_BOOL Boolean = object->Locked;
VARIANT_BOOL Boolean = object->GetLocked();
CHRESULT object->get_Locked(VARIANT_BOOL* Boolean);

Put

VB.NETobject.Locked = Boolean As Boolean
VBobject.Locked = Boolean As Boolean
C#.NETbool object.Locked = Boolean;
VC++VARIANT_BOOL object->Locked = Boolean;
void object->PutLocked(VARIANT_BOOL Boolean);
CHRESULT object->put_Locked(VARIANT_BOOL Boolean);

object

A SftBoxHeader object.

Boolean

Defines whether this column header's size is locked so the user cannot resize the column.

BooleanDescription
TrueThe column header and its associated column cannot be resized.
FalseThe column header and its associated column can be resized.

Comments

The Locked property defines whether this column header's size is locked so the user cannot resize the column.

The Locked property could be used in columns where the displayed data always has the same width and there is no need to allow the user to resize the column.

A locked column only prevents the user from resizing the column. Properties and methods used, such as Column.MakeOptimal can still resize the column.

To hide a column completely, set the Column.Width property to 0 and Locked to True. This not only hides the column, but also makes it impossible for the user to resize the hidden column and make it visible.

See Also SftBoxHeader Object | Object Hierarchy


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