ButtonStyle Attribute
Data Type: integer
4GL Access: RW
This attribute may affect both the appearance and the behavior of a PaletteField.
Valid values are:
BS_DEFAULT
Specifies that the ButtonStyle attribute has no effect
BS_TOOLBAR
Specifies that the selected item is drawn with a one-pixel border and has a depressed appearance. The other items in the palette have no border unless the mouse cursor is over the item. When the mouse cursor is over an unselected item, the item is drawn with a one-pixel border that gives a raised appearance.
The buttons and borders are drawn using standard Windows colors. The parent field's background color should be CC_SYS_BTNFACE. With the BS_TOOLBAR style, the following attributes are ignored:
• BgColor
• FgColor
• OutlineColor
• OutlineStyle
• OutlineWidth
Descriptions of system constant values and their numeric equivalents are listed in
Button Style Settings for ButtonStyle).