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
Defines whether this column header's size is locked so the user cannot resize the column.
Get
VB.NET | Boolean = object.Locked As Boolean |
VB | Boolean = object.Locked As Boolean |
C#.NET | bool Boolean = object.Locked; |
VC++ | VARIANT_BOOL Boolean = object->Locked; VARIANT_BOOL Boolean = object->GetLocked(); |
C | HRESULT object->get_Locked(VARIANT_BOOL* Boolean); |
Put
VB.NET | object.Locked = Boolean As Boolean |
VB | object.Locked = Boolean As Boolean |
C#.NET | bool object.Locked = Boolean; |
VC++ | VARIANT_BOOL object->Locked = Boolean; void object->PutLocked(VARIANT_BOOL Boolean); |
C | HRESULT object->put_Locked(VARIANT_BOOL Boolean); |
object
Boolean
Defines whether this column header's size is locked so the user cannot resize the column.
Boolean | Description |
---|---|
True | The column header and its associated column cannot be resized. |
False | The column header and its associated column can be resized. |
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