QPR Knowledge Base

Tool Palette Button Properties Dialog

Hide Navigation Pane

Tool Palette Button Properties Dialog

Previous topic Next topic No expanding text in this topic  

Tool Palette Button Properties Dialog

Previous topic Next topic JavaScript is required for expanding text Mail us feedback on this topic!  

Comments (...)

In the Tool Palette Button Properties dialog you can create new buttons to the Tool Palette or edit existing buttons. This dialog is accessible from the pop-up menu of the Tool Palette.

 

dlg_tool_palette_btn_properties

 

To create a new button or edit an existing button:

1.Select the element type from the drop down menu in Element type.
2.If you want to use the default name and button image, select the checkbox Use default name and button image. Then the tool palette button name is determined by the element type.
3.If you do not want to use the default name, enter the name of the button in the Name field.
4.If you do not want to use the default button image, click the downward arrow below Button image to select the image from a predefined set of button symbols, or click Browse... to select your own image. Only bitmap images can be used.
5.If you select Create a new element as the Button behavior, drawing an element will create a new element, and an instance is created by drawing the element with the Ctrl key pressed down. If you select Instantiate an existing element, drawing an element will instantiate an existing element, and a new element will be created by drawing the element with the Ctrl key pressed down.
6.If the element type you selected has custom attributes defined in Modeling Options, you can add them to the button. The element types checkpoint, picture, and text cannot have custom attributes. To add attribute values, click Add in the Attribute values section, and write the attribute's value to the Value field. You cannot add relation, attribute set, or enumerated type attributes for the buttons. In addition, if the element type you selected has been defined as an interface element in Modeling Options, you can add the interface element as an attribute. The values you enter are set to the new elements when they are created using the tool button. To remove an attribute and its value, select the attribute and click Remove. When an existing element is instantiated, the button's predefined attribute values are ignored.
7.Click OK to save the changes you made. Note that when creating a new button, it is placed under the category from where you entered the dialog but you can change its position by dragging it. However, you cannot move child model buttons before base model buttons within a category.

Comments (...)