SftButton/OCX 2.5

SftButton.Follows Property

Softel vdm, Inc.

Defines whether the button follows drop down button clicks.

Syntax       

Get

VB.NET

Boolean = object.Follows  As Boolean

VB

Boolean = object.Follows  As Boolean

C#.NET

bool Boolean = object.Follows;

VC++

VARIANT_BOOL Boolean = object->Follows;
VARIANT_BOOL Boolean = object->GetFollows();

C

HRESULT object->get_Follows(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.Follows   : WordBool;

Put

VB.NET

object.Follows = Boolean  As Boolean

VB

object.Follows = Boolean  As Boolean

C#.NET

bool object.Follows = Boolean;

VC++

VARIANT_BOOL object->Follows = Boolean;
void object->PutFollows(VARIANT_BOOL Boolean);

C

HRESULT object->put_Follows(VARIANT_BOOL Boolean);

Delphi

object.Follows := Boolean   : WordBool;

object

A SftButton object.

Boolean

Defines whether the button follows drop down button clicks.

Boolean

Description

True

If the drop down button is pressed or released, the button portion is also displayed in the same position.

False

If the drop down button is pressed or released, this has no effect on the button portion.

Comments

The Follows property defines whether the button follows drop down button clicks.

The button and drop down button portion are usually independent, but using the Follows or DropDownFollows properties, one can mimic the state of the other.


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