Untitled

(Steven Felgate) #1

Properties for the Standard toolbar


Properties pane Description Example
item


tions are Do Not Add to Workspaces or Add to Work-
spaces.

Specifies whether the toolbar is floating or docked (top, Top
bottom, left, or right) the first time the CUIx file is loaded.

Orientation


Specifies the location from the left edge of the screen 0
when the toolbar appears when it is floating, or the loca-

Default X Location


tion when it is docked. If docked, a value of 0 indicates
the left most location in a docked area.

Specifies the location from the top edge of the screen 0
when the toolbar appears when it is floating, or the loca-

Default Y Location


tion when it is docked. If docked, a value of 0 indicates
the top most location in a docked area.

Specifies the number of rows the items on the toolbar 1
are displayed in when the toolbar is floating.

Rows


TB_STANDARD,
Standard

Specifies the aliases for the toolbar. Click the [ ] button
to open the Aliases dialog box. Each alias in the CUIx file

Aliases


should be unique and it is used to reference the toolbar
programmatically.

Element ID Tag that uniquely identifies a toolbar. ID_TbStandard


NOTEThe properties On By Default, Orientation, Default X Location, Default Y
Location, and Rows are used only the first time the CUIx file is loaded and when
no default workspace is set. After a toolbar is loaded the first time, a workspace is
used to control the Appearance properties of a toolbar. See the procedure To
change the properties of a toolbar on page 307 for more information.

When you create a new toolbar, the first task you need to do is to provide a
name for it. A new toolbar has no commands or controls assigned to it. If a
toolbar has no commands or controls on it, it is ignored by the program until
you add at least one command or control to it. You add commands and
controls to a toolbar by dragging a command or control from an existing
toolbar or the Command List pane and dropping it onto a toolbar. Once a
command or control has been added to a toolbar, you can change the text

Toolbars | 191

Free download pdf