SftBox/OCX 4.5

SftBoxEdit.Locked Property

Softel vdm, Inc.

Defines the edit control portion as read/only.

Syntax       

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);

Delphi

Boolean := object.Locked   : WordBool;

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);

Delphi

object.Locked := Boolean   : WordBool;

object

A SftBoxEdit 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.

Comments

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.


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