SftButton/OCX 2.5

SftButton.DropDownStyle Property

Softel vdm, Inc.

Defines the width of the drop down button.

Syntax       

Get

VB.NET

Style = object.DropDownStyle  As SftButtonDropDownStyleConstants

VB

Style = object.DropDownStyle  As SftButtonDropDownStyleConstants

C#.NET

SftButtonDropDownStyleConstants Style = object.DropDownStyle;

VC++

enum SftButtonDropDownStyleConstants Style = object->DropDownStyle;
enum SftButtonDropDownStyleConstants Style = object->GetDropDownStyle();

C

HRESULT object->get_DropDownStyle(enum SftButtonDropDownStyleConstants* Style);

Delphi

Style := object.DropDownStyle  : TOleEnum;

Put

VB.NET

object.DropDownStyle = Style  As SftButtonDropDownStyleConstants

VB

object.DropDownStyle = Style  As SftButtonDropDownStyleConstants

C#.NET

SftButtonDropDownStyleConstants object.DropDownStyle = Style;

VC++

enum SftButtonDropDownStyleConstants object->DropDownStyle = Style;
void object->PutDropDownStyle(enum SftButtonDropDownStyleConstants Style);

C

HRESULT object->put_DropDownStyle(enum SftButtonDropDownStyleConstants Style);

Delphi

object.DropDownStyle := Style  : TOleEnum;

object

A SftButton object.

Style

Defines the width of the drop down button.

Name

Value

Description

dropdownstyleSftButtonStandard

0

Standard - The width of the drop down button is equivalent to the width of a vertical scroll bar button.

dropdownstyleSftButtonNarrow1

1

Narrow1 - The width of the drop down button is 3/4 the width of a vertical scroll bar button.

dropdownstyleSftButtonNarrow2

2

Narrow2 - The width of the drop down button is 2/3 the width of a vertical scroll bar button.

dropdownstyleSftButtonNarrow3

3

Narrow3 - The width of the drop down button is 1/2 the width of a vertical scroll bar button.

dropdownstyleSftButtonWide1

4

Wide1 - The width of the drop down button is 50% wider than a vertical scroll bar button.

Comments

The DropDownStyle property defines the width of the drop down button.

The ShowDropDown property defines whether the drop down button is displayed.


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