SftButton/OCX 2.5

SftButton.DropDownDownClick Property

Softel vdm, Inc.

Defines whether the drop down button fires the DropDownClick event when the mouse button is either pressed or released.

Syntax       

Get

VB.NET

Boolean = object.DropDownDownClick  As Boolean

VB

Boolean = object.DropDownDownClick  As Boolean

C#.NET

bool Boolean = object.DropDownDownClick;

VC++

VARIANT_BOOL Boolean = object->DropDownDownClick;
VARIANT_BOOL Boolean = object->GetDropDownDownClick();

C

HRESULT object->get_DropDownDownClick(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.DropDownDownClick   : WordBool;

Put

VB.NET

object.DropDownDownClick = Boolean  As Boolean

VB

object.DropDownDownClick = Boolean  As Boolean

C#.NET

bool object.DropDownDownClick = Boolean;

VC++

VARIANT_BOOL object->DropDownDownClick = Boolean;
void object->PutDropDownDownClick(VARIANT_BOOL Boolean);

C

HRESULT object->put_DropDownDownClick(VARIANT_BOOL Boolean);

Delphi

object.DropDownDownClick := Boolean   : WordBool;

object

A SftButton object.

Boolean

Defines whether the drop down button fires the DropDownClick event when the mouse button is either pressed or released.

Boolean

Description

True

The DropDownClick event is fired as the mouse button is pressed.

False

The DropDownClick event is fired as the mouse button is released.

Comments

The DropDownDownClick property defines whether the drop down button fires the DropDownClick event when the mouse button is either pressed or released.

The DropDownDblClick event is also affected by this property.

A button control (including a Windows button control) normally doesn't fire the Click event until the mouse button is released. Using the DropDownDownClick property, this behavior can be changed for the drop down button. This is typically used when the drop down button displays a popup menu.

Only the drop down button is affected by this property. There is no equivalent property for the button portion.


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