SftMask/OCX 6.5

SftMask.LockedUpDown Property

Softel vdm, Inc.

Defines whether the up/down buttons are disabled.

Syntax       

Get

VB.NET

Boolean = object.LockedUpDown  As Boolean

VB

Boolean = object.LockedUpDown  As Boolean

C#.NET

bool Boolean = object.LockedUpDown;

VC++

VARIANT_BOOL Boolean = object->LockedUpDown;
VARIANT_BOOL Boolean = object->GetLockedUpDown();

C

HRESULT object->get_LockedUpDown(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.LockedUpDown   : WordBool;

Put

VB.NET

object.LockedUpDown = Boolean  As Boolean

VB

object.LockedUpDown = Boolean  As Boolean

C#.NET

bool object.LockedUpDown = Boolean;

VC++

VARIANT_BOOL object->LockedUpDown = Boolean;
void object->PutLockedUpDown(VARIANT_BOOL Boolean);

C

HRESULT object->put_LockedUpDown(VARIANT_BOOL Boolean);

Delphi

object.LockedUpDown := Boolean   : WordBool;

object

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

Comments

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.


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