Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxDropDown.ButtonStyle Property

Defines the appearance of the drop down button.

Syntax

Get

VB.NETStyle = object.ButtonStyle As SftBoxDropDownButtonStyleConstants
VBStyle = object.ButtonStyle As SftBoxDropDownButtonStyleConstants
C#.NETSftBoxDropDownButtonStyleConstants Style = object.ButtonStyle;
VC++enum SftBoxDropDownButtonStyleConstants Style = object->ButtonStyle;
enum SftBoxDropDownButtonStyleConstants Style = object->GetButtonStyle();
CHRESULT object->get_ButtonStyle(enum SftBoxDropDownButtonStyleConstants* Style);

Put

VB.NETobject.ButtonStyle = Style As SftBoxDropDownButtonStyleConstants
VBobject.ButtonStyle = Style As SftBoxDropDownButtonStyleConstants
C#.NETSftBoxDropDownButtonStyleConstants object.ButtonStyle = Style;
VC++enum SftBoxDropDownButtonStyleConstants object->ButtonStyle = Style;
void object->PutButtonStyle(enum SftBoxDropDownButtonStyleConstants Style);
CHRESULT object->put_ButtonStyle(enum SftBoxDropDownButtonStyleConstants Style);

object

A SftBoxDropDown object.

Style

Defines the appearance of the drop down button.

StyleValueDescription
constSftBoxDDStyleDefault0The button style appropriate for the Windows version is used. If Windows themes are available, the drop down button will be rendered using the defined theme's style. constSftBoxDDStyleDefault is the preferred and default setting. If a drop down button image has been defined (DropDown.Image property), the button is rendered using the style constSftBoxDDStyleClassic instead.
constSftBoxDDStyleWinClassic1The drop down button is painted by Windows, using a style as introduced originally by Windows 95/Windows 2000. If Windows themes are available, these are not honored. If a drop down button image has been defined (DropDown.Image property), the button is rendered using the style constSftBoxDDStyleClassic instead.
constSftBoxDDStyleClassic2This style is rendered by SftBox/OCX and never honors Windows themes. The SftBoxDropDown.HoverButton property has no effect if the button is rendered using this style.
constSftBoxDDStyleHover3The drop down button is located next to the combo box control and is only visible when the control has the input focus or when the mouse cursor is located above the control. It is not visible at design-time. When using this style, the DropDown.Image property must define an image for the drop down button, otherwise an empty button is displayed. If Windows themes are available, the drop down button will be rendered using the defined theme's style.
constSftBoxDDStyleHoverNoThemes4The drop down button is located next to the combo box control and is only visible when the control has the input focus or when the mouse cursor is located above the control. It is not visible at design-time. When using this style, the DropDown.Image property must define an image for the drop down button, otherwise an empty button is displayed. Windows themes are never used, even if available.

Comments

The ButtonStyle property defines the appearance of the drop down button.

See Also SftBoxDropDown Object | Object Hierarchy


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