SftButton/OCX 2.5

SftButton.DropDownPressed Property

Softel vdm, Inc.

Defines whether the drop down button is pressed (toggle button only).

Syntax       

Get

VB.NET

Boolean = object.DropDownPressed  As Boolean

VB

Boolean = object.DropDownPressed  As Boolean

C#.NET

bool Boolean = object.DropDownPressed;

VC++

VARIANT_BOOL Boolean = object->DropDownPressed;
VARIANT_BOOL Boolean = object->GetDropDownPressed();

C

HRESULT object->get_DropDownPressed(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.DropDownPressed   : WordBool;

Put

VB.NET

object.DropDownPressed = Boolean  As Boolean

VB

object.DropDownPressed = Boolean  As Boolean

C#.NET

bool object.DropDownPressed = Boolean;

VC++

VARIANT_BOOL object->DropDownPressed = Boolean;
void object->PutDropDownPressed(VARIANT_BOOL Boolean);

C

HRESULT object->put_DropDownPressed(VARIANT_BOOL Boolean);

Delphi

object.DropDownPressed := Boolean   : WordBool;

object

A SftButton object.

Boolean

Defines whether the drop down button is pressed (toggle button only).

Boolean

Description

True

The drop down button is pressed.

False

The drop down button is released.

Comments

The DropDownPressed property defines whether the drop down button is pressed (toggle button only).

When using the DropDownPressed property, the DropDownClick event does not occur.

The DropDownToggle property must be set to True for this property to take effect.

The button portion is controlled by the equivalent Pressed property.


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