SftMask/OCX 6.5

SftMask.Enabled Property

Softel vdm, Inc.

Defines whether the control responds to user-generated events.

Syntax       

Put

VB.NET

object.Enabled = Boolean  As Boolean

VB

object.Enabled = Boolean  As Boolean

C#.NET

bool object.Enabled = Boolean;

VC++

VARIANT_BOOL object->Enabled = Boolean;
void object->PutEnabled(VARIANT_BOOL Boolean);

C

HRESULT object->put_Enabled(VARIANT_BOOL Boolean);

Delphi

object.Enabled := Boolean   : WordBool;

Get

VB.NET

Boolean = object.Enabled  As Boolean

VB

Boolean = object.Enabled  As Boolean

C#.NET

bool Boolean = object.Enabled;

VC++

VARIANT_BOOL Boolean = object->Enabled;
VARIANT_BOOL Boolean = object->GetEnabled();

C

HRESULT object->get_Enabled(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.Enabled   : WordBool;

object

A SftMask object.

Boolean

Defines whether the control responds to user-generated events.

Boolean

Description

True

The control responds to user-generated events.

False

The 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.


Feedback / comments / error reports for this topic
© 2000, 2008 - Softel vdm, Inc. - www.softelvdm.com