Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBox.Style Property

Defines the control's basic style.

Syntax

Get

VB.NETStyle = object.Style As SftBoxStyleConstants
VBStyle = object.Style As SftBoxStyleConstants
C#.NETSftBoxStyleConstants Style = object.Style;
VC++enum SftBoxStyleConstants Style = object->Style;
enum SftBoxStyleConstants Style = object->GetStyle();
CHRESULT object->get_Style(enum SftBoxStyleConstants* Style);

Put

VB.NETobject.Style = Style As SftBoxStyleConstants
VBobject.Style = Style As SftBoxStyleConstants
C#.NETSftBoxStyleConstants object.Style = Style;
VC++enum SftBoxStyleConstants object->Style = Style;
void object->PutStyle(enum SftBoxStyleConstants Style);
CHRESULT object->put_Style(enum SftBoxStyleConstants Style);

object

A SftBox object.

Style

Defines the control's basic style.

StyleValueDescription
styleSftBoxSimple0Defines a simple combo box control, offering an edit control portion and a drop down portion which is always visible.
styleSftBoxDropDown1Defines a drop down combo box control, offering an edit control portion and a drop down portion which is shown or hidden based on the user's preference.
styleSftBoxDropDownList2Defines a drop down list combo box control, offering a static portion and a drop down portion which is shown or hidden based on the user's preference.

Comments

The Style property defines the control's basic style.

This property is read/only at run-time.

See Also SftBox Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.