Copyright © 1998-2010 MultiMedia Soft

Style property

Previous pageReturn to chapter overviewNext page

Type

long for Visual C++

enumStyles for Visual Basic

 

 

Syntax

object.Style [=enumStyles]

 

 

Remarks

The button style.

Supported values are the following:

Mnemonic constant

Value

Meaning

STYLE_PUSHBUTTON

0 (default)

Selected by default, includes all the features of a normal Push Button also know as Command Button, but with many more options.

STYLE_CHECKBOX

1

Includes all the features of a normal Checkbox, but with many more options.

STYLE_RADIOBUTTON

2

Includes all the features of a normal Radio Button also known as Option Button, but with many more options

See the How to group Radio buttons together section for details.

STYLE_FRAME

3

Includes all the features of a normal Frame control, but with many more options.

See the How to use the control as a Frame control section for details.

STYLE_PICTURE

4

Includes all the features of a normal Picture control, but with many more options.

See the How to use the control as a Picture control section for details.

STYLE_CHECKBOX_STD

5

Includes all the features of a normal Standard Checkbox available in Windows with some further features such as picture choice, graphical borders and transparency.

See the How to use Enhanced Standard controls section for details.

STYLE_RADIOBUTTON_STD

6

Includes all the features of a normal Standard Radio Button available in Windows with some further features such as picture choice, graphical borders and transparency.

See the How to use Enhanced Standard controls section and the How to group Radio buttons together section for details.

STYLE_LABEL

7

Includes all the features of a normal Label control also known as Static control, with the possibility to customize its graphical appearance.

STYLE_PROGRESS_BAR

8

Includes all of the features of a normal Progress Bar control.

STYLE_SPLIT_BUTTON

9

Includes most of the features of an Office-like Split Button control.