Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

Locked Property, SftTreeHeader Object

Defines whether this column'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 SftTreeHeader object.

Boolean

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

BooleanDescription
TrueThe column width is locked and the user cannot resize the column. This can be used to hide certain columns. By setting a column's width to 0 and locking it, a user cannot make the column visible.
FalseThe column width is not locked and the user can resize the column.

Comments

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

An application can always resize a column by changing its Column.Width property, regardless of the settings of this property.

The Headers.Resizable property can be used to define whether column headers can be resized by the user.

See Also SftTreeHeader Object | Object Hierarchy


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