Defines the edit control portion as read/only.
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 the edit control portion as read/only.
| Boolean | Description |
|---|---|
| True | The edit control portion is read/only and cannot be updated by the user. |
| False | The edit control portion can be updated by the user. |
The Locked property defines the edit control portion as read/only.
If the edit control portion is read/only, the user cannot modify it. It is also displayed in a grayed fashion and the colors defined using the Edit.BackColor or Edit.ForeColor properties are ignored.
This property cannot be used with a drop down list combo box.
See Also SftBoxEdit Object | Object Hierarchy