Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

Enabled Property, SftMask Object

Defines whether the control responds to user-generated events.

Syntax

Get

VB.NETBoolean = object.Enabled As Boolean
VBBoolean = object.Enabled As Boolean
C#.NETbool Boolean = object.Enabled;
VC++VARIANT_BOOL Boolean = object->Enabled;
VARIANT_BOOL Boolean = object->GetEnabled();
CHRESULT object->get_Enabled(VARIANT_BOOL* Boolean);

Put

VB.NETobject.Enabled = Boolean As Boolean
VBobject.Enabled = Boolean As Boolean
C#.NETbool object.Enabled = Boolean;
VC++VARIANT_BOOL object->Enabled = Boolean;
void object->PutEnabled(VARIANT_BOOL Boolean);
CHRESULT object->put_Enabled(VARIANT_BOOL Boolean);

object

A SftMask object.

Boolean

Defines whether the control responds to user-generated events.

BooleanDescription
TrueThe control responds to user-generated events.
FalseThe control is disabled and does not respond to user-generated events. It is painted in a "grayed" style.

Comments

The Enabled property defines whether the control responds to user-generated events.

If the control is disabled, it uses the colors specified for the disabled state (usually containing the text "Grayed").

The Locked property can be used to prevent modification of the control's contents by the user, while remaining enabled with all other features available, such as selection, cursor movement, etc.

See Also SftMask Object | Object Hierarchy


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