Accessible Using
"Dialog > Toolbar"; or
first check the "Toolbar" entry in the dialog attributes window, then double-click on the dummy toolbar in the dialog; or select 'Toolbar...' from the toolbar's context menu.
CTRL+ALT+T.
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 toolbar (may be overwritten with another name). |
Position | TOOLBAR-POS attribute values. |
Wrapped | STYLE attribute value: if set and there are more toolbar items than can be displayed on the top of the dialog, the toolbar wraps around to a new line. (The default: the toolbar can be scrolled with the two small arrow push buttons on the left of the toolbar.) |
Margin-X | MARGIN-X attribute value (specifies which margin to the left, to the right and above the bitmaps is displayed in the toolbar area. This attribute only applies if TOOLBAR-POS is set to TB-LEFT or TB-RIGHT. |
Margin-Y | MARGIN-Y attribute value (specifies which margin to the left, above and below the bitmaps is displayed in the toolbar area. This attribute only applies if TOOLBAR-POS is set to TB-TOP or TB-BOTTOM. |
Item width | ITEM-W attribute value (specifies the width of all items in the toolbar). |
Item height | ITEM-H attribute value (specifies the height of all items in the toolbar). |
Toolbar | Displays the handle name and the BITMAP-FILE-NAME of the existing toolbar items. |
Selected toolbar item: | In this group frame, you assign attribute values to the toolbar item selected in the "Toolbar items" group frame on the left. |
Name | Handle name of the toolbar item (may be overwritten with another name). |
Type | MENU-ITEM-TYPE attribute value for the selected toolbar item. |
Same as | SAME-AS attribute value (not for MENU-ITEM-TYPE attribute "Separator"); the selection box displays the 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. |
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. |
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. |
New | Creates a new toolbar item. |
Cut | Cuts a selected toolbar item and copies it to the clipboard. You can also cut and paste several toolbar items at once. |
Paste | Pastes a toolbar item from the clipboard.
Note: |
OK | Save settings and exit the window. |
Cancel | Exit the window without saving the settings. |
Help | Provides online help on the attributes window. |