HeaderPane
Main
Hide

SftButton/OCX 4.0 - ActiveX Button Control

Share Link
Print

DropDownStyle Property, SftButton Object

Defines the width of the drop down button.

Syntax

Get

VB.NETStyle = object.DropDownStyle As SftButtonDropDownStyleConstants
VBStyle = object.DropDownStyle As SftButtonDropDownStyleConstants
C#.NETSftButtonDropDownStyleConstants Style = object.DropDownStyle;
VC++enum SftButtonDropDownStyleConstants Style = object->DropDownStyle;
enum SftButtonDropDownStyleConstants Style = object->GetDropDownStyle();
CHRESULT object->get_DropDownStyle(enum SftButtonDropDownStyleConstants* Style);

Put

VB.NETobject.DropDownStyle = Style As SftButtonDropDownStyleConstants
VBobject.DropDownStyle = Style As SftButtonDropDownStyleConstants
C#.NETSftButtonDropDownStyleConstants object.DropDownStyle = Style;
VC++enum SftButtonDropDownStyleConstants object->DropDownStyle = Style;
void object->PutDropDownStyle(enum SftButtonDropDownStyleConstants Style);
CHRESULT object->put_DropDownStyle(enum SftButtonDropDownStyleConstants Style);

object

A SftButton object.

Style

Defines the width of the drop down button.

NameValueDescription
dropdownstyleSftButtonStandard0Standard - The width of the drop down button is equivalent to the width of a vertical scroll bar button.
dropdownstyleSftButtonNarrow11Narrow1 - The width of the drop down button is 3/4 the width of a vertical scroll bar button.
dropdownstyleSftButtonNarrow22Narrow2 - The width of the drop down button is 2/3 the width of a vertical scroll bar button.
dropdownstyleSftButtonNarrow33Narrow3 - The width of the drop down button is 1/2 the width of a vertical scroll bar button.
dropdownstyleSftButtonWide14Wide1 - 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.

See Also SftButton Object | Object Hierarchy


Last Updated 08/23/2026 - (email)
© 2026 Softel vdm, Inc.