03.01.2013 Views

Customization Guide (.pdf) - Documentation & Online Help - Autodesk

Customization Guide (.pdf) - Documentation & Online Help - Autodesk

Customization Guide (.pdf) - Documentation & Online Help - Autodesk

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Properties for the Standard toolbar<br />

Properties pane<br />

item<br />

Orientation<br />

Default X Location<br />

Default Y Location<br />

Rows<br />

Aliases<br />

Element ID<br />

Description<br />

tions are Do Not Add to Workspaces or Add to Workspaces.<br />

Specifies whether the toolbar is floating or docked (top,<br />

bottom, left, or right) the first time the CUIx file is loaded.<br />

Specifies the location from the left edge of the screen<br />

when the toolbar appears when it is floating, or the location<br />

when it is docked. If docked, a value of 0 indicates<br />

the left most location in a docked area.<br />

Specifies the location from the top edge of the screen<br />

when the toolbar appears when it is floating, or the location<br />

when it is docked. If docked, a value of 0 indicates<br />

the top most location in a docked area.<br />

Specifies the number of rows the items on the toolbar<br />

are displayed in when the toolbar is floating.<br />

Specifies the aliases for the toolbar. Click the [ ] button<br />

to open the Aliases dialog box. Each alias in the CUIx file<br />

should be unique and it is used to reference the toolbar<br />

programmatically.<br />

Tag that uniquely identifies a toolbar.<br />

Example<br />

Top<br />

0<br />

0<br />

1<br />

TB_STANDARD,<br />

Standard<br />

ID_TbStandard<br />

NOTE The properties On By Default, Orientation, Default X Location, Default Y<br />

Location, and Rows are used only the first time the CUIx file is loaded and when<br />

no default workspace is set. After a toolbar is loaded the first time, a workspace is<br />

used to control the Appearance properties of a toolbar. See the procedure To<br />

change the properties of a toolbar on page 307 for more information.<br />

When you create a new toolbar, the first task you need to do is to provide a<br />

name for it. A new toolbar has no commands or controls assigned to it. If a<br />

toolbar has no commands or controls on it, it is ignored by the program until<br />

you add at least one command or control to it. You add commands and<br />

controls to a toolbar by dragging a command or control from an existing<br />

toolbar or the Command List pane and dropping it onto a toolbar. Once a<br />

command or control has been added to a toolbar, you can change the text<br />

Toolbars | 191

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!