Defines whether the up/down buttons are disabled.
Get
| C# | bool Boolean = object.LockedUpDown; |
| VB.NET | Boolean = object.LockedUpDown As Boolean |
| C++ | VARIANT_BOOL Boolean = object->LockedUpDown; VARIANT_BOOL Boolean = object->GetLockedUpDown(); |
| C | HRESULT object->get_LockedUpDown(VARIANT_BOOL* Boolean); |
| VB | Boolean = object.LockedUpDown As Boolean |
Put
| C# | bool object.LockedUpDown = Boolean; |
| VB.NET | object.LockedUpDown = Boolean As Boolean |
| C++ | VARIANT_BOOL object->LockedUpDown = Boolean; void object->PutLockedUpDown(VARIANT_BOOL Boolean); |
| C | HRESULT object->put_LockedUpDown(VARIANT_BOOL Boolean); |
| VB | object.LockedUpDown = Boolean As Boolean |
object
Boolean
Defines whether the up/down buttons are disabled.
| Boolean | Description |
|---|---|
| True | The up/down buttons are locked and cannot be clicked. |
| False | The up/down buttons can be clicked. |
The LockedUpDown property defines whether the up/down buttons are disabled.
The EditStyle property controls the presence of the up/down buttons, the drop down button and the ellipse button.
When the Locked property is set, it also updates the LockedDropDown, LockedEllipse and LockedUpDown properties with the same Boolean value. The LockedDropDown, LockedEllipse and LockedUpDown properties can be set independently after setting the Locked property.
See Also SftMask Object | Object Hierarchy