Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

Locked Property, SftMask Object

Defines whether the control allows data entry and can be edited.

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 SftMask object.

Boolean

Defines whether the control allows data entry and can be edited.

BooleanDescription
TrueThe control does not allow data entry and cannot be edited.
FalseThe control allows data entry and can be edited.

Comments

The Locked property defines whether the control allows data entry and can be edited.

The Locked property causes the control to prevent modification of its contents by the user through keyboard or mouse input while retaining all other interface features. Unlike disabling the control using the Enabled property, if a control is locked it can still receive the input focus and the user can continue to interact with the control.

If a control is locked, the popup calendar, calculator and autocomplete feature are not available.

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


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