Tool Bar Control Attributes Window

Start of instruction setAccessible Using

  1. Double-click on the tool bar control; or

  2. if selected: "Control > Attributes" or by selecting 'Attributes...' from the control's context menu or

  3. if selected: ENTER.


Entries

Note:
For context-sensitive help on attribute entries, select the entry so it has the focus, and press F1.

Entry in Attributes Window Represents
Name Handle name of the tool bar control (may be overwritten with another name).
Attributes... Subordinate window for editing the tool bar control's attribute values. For more information, see Tool Bar Control Attributes Subwindow. (Normally, all attributes of a dialog element can be edited in the attributes window. Instead, the attributes of each tool bar item in the tool bar control can be edited here. For reasons of space, the tool bar control's attributes are edited in a separate subwindow).
Tool bar items: Displays the handle name and the BITMAP-FILE-NAME attribute values of the tool bar items already created. If you select a tool bar item, its attributes are displayed for editing. You can also select several tool bar items for cutting and pasting.
New Creates a new tool bar item.
Cut Cuts a selected tool bar item and copies it to the clipboard. You can also cut and paste several tool bar items at once.
Paste Pastes a tool bar item from the clipboard.

Note:
The "New" and "Paste" entries insert tool bar items behind the currently selected item, or, if no items are selected, at the top of the list. You deselect items by holding down CTRL while selecting the selected items.

Selected tool bar item: In this group frame, you assign attribute values to the tool bar items selected in the "Tool bar items" list box on the left.
Name Handle name of the tool bar item (may be overwritten with another name).
Type MENU-ITEM-TYPE attribute value for the selected tool bar item.
Width RECTANGLE-W attribute value. This is only available for MENU-ITEM-TYPE attribute "Separator" and specifies the separator width (0 = default separator width).
Same as SAME-AS attribute value (only available for MENU-ITEM-TYPE attribute "Normal"); the selection box displays the signals and menu items available.
Bitmap BITMAP-FILE-NAME attribute value.
... Dialog box for determining sources of BITMAP-FILE-NAME attribute values. Also provides a list of all available bitmaps to be used.
DIL text DIL-TEXT attribute value (string).
... Dialog box for determining sources of DIL-TEXT attribute values (not for MENU-ITEM-TYPE attribute "Separator").
Accelerator ACCELERATOR attribute value.
... Dialog box for determining sources of ACCELERATOR attribute values.
Tooltip TOOLTIP attribute value.
... Dialog box for determining sources of TOOLTIP attribute values.
Command ID CLIENT-KEY attribute value (used in this context for associating a command ID).
Background Color:  
Selection box BACKGROUND-COLOUR-NAME attribute value to be used for display of the item's bitmap (if any). If 'default' is specified, the color of the first (top-left) pixel in the bitmap determines the background color.
... Dialog box for editing BACKGROUND-COLOUR-VALUE attribute value.
State:  
Visible VISIBLE attribute value.
Enabled ENABLED attribute value (not for MENU-ITEM-TYPE attribute "Separator").
Checked CHECKED attribute value (not for MENU-ITEM-TYPE attribute "Separator").
Shared SHARED attribute value. CLICK events for this item will be forwarded to the active MDI child dialog (if any). This attribute is ignored for non-MDI dialogs.
Style:  
Scaled STYLE attribute value: allows for stretched bitmaps to be displayed on the toolbar items.
Wrapped STYLE attribute value: if set, tool bar item is started on a new row.
Transparent STYLE attribute value: bitmap pixels in the background color do not change the state of the screen.
Events Dialog box for editing event handlers; may only be used with the approriate "Type" entry; may not be used if the toolbar item is associated with a menu item using the SAME-AS attribute.
OK Save settings and exit the window.
Cancel Exit the window without saving the settings.
Help Provides online help on the attributes window.