Top
PowerCOBOL V11.0 Reference
FUJITSU Software

4.275 Style Property

Description:

Defines the style of the control

Used in control(s):

ComboBox

Tab

Toolbar

Used in object:

Button

Values (with constants):

ComboBox

0 - Simple:(POW-COMBO-STYLE-SIMPLE)
A combination of a text box and a list box. Always displays the list box.

1 - DropDown:(POW-COMBO-STYLE-DROPDOWN)
A combination of a text box and a list box. Displays a down-arrow button that displays the list when clicked, or the user can enter text into the text box.

2 - DropDownList:(POW-COMBO-STYLE-DROPDOWNLIST)
A combination of a static text control and a list box. Displays a down-arrow button that displays the list when clicked. The user cannot filter the contents of the list box.

Tab

0 - Tabs:(POW-TAB-STYLE-TABS)
Pages are selected using file tabs.

1 - Buttons:(POW-TAB-STYLE-BUTTONS)
Pages are selected using "latching" buttons.

Toolbar

0 - Normal:(POW-TBAR-STYLE-NORMAL)
Made up of buttons in the 3D style.

1 - Flat:(POW-TBAR-STYLE-FLAT)
Made up of flat buttons with Caption text displayed below the buttons.

2 - FlatList:(POW-TBAR-STYLE-FLATLIST)
Made up of flat buttons Caption text displayed at the side of the image.

Button

0 - Normal: (POW-TBAR-BTN-STYLE-NORMAL)
Normal push button.

1 - Separator: (POW-TBAR-BTN-STYLE-SEPARATOR)
The separator between buttons. The ButtonClick event is not generated if you click it.

2 - CheckButton:(POW-TBAR-BTN-STYLE-CHECK)
A "latching" button - i.e. a button that stays depressed or raised until clicked again. Used for indicating that an option is selected or not selected.

3 - CheckButtonGroup:(POW-TBAR-BTN-STYLE-CHECKGROUP)
A group of connected "latching" buttons. Only one button in the group can be selected at a time. The selected button remains in the selected state until another button in the group is depressed.
A group consists of all adjacent buttons whose Style property is "3 - CheckButtonGroup".
The ButtonClick event is not generated when you click the mouse on a button that is already selected.

4 - DropDownButton:(POW-TBAR-BTN-STYLE-DROPDOWN)
A button with an arrow. When the arrow button is clicked a DropDown event is generated. You can use this event to show a pop-up menu using the PopupMenu method.

Default value:

ComboBox

2 - DropDownList:(POW-COMBO-STYLE-DROPDOWNLIST)

Tab

0 - Tabs:(POW-TAB-STYLE-TABS)

Toolbar

0 - Normal:(POW-TBAR-STYLE-NORMAL)

Button

0 - Normal: (POW-TBAR-BTN-STYLE-NORMAL)

COBOL picture:

S9(4) COMP-5

OLE data type:

VT_I2

Design time access:

Set and reference.

Execution time access:

Toolbar and Button

Set and reference.

Others

Reference only.

Backward compatibility attribute:

None.