30.07.2013 Views

T-FLEX Parametric CAD. Fundamentals. 2D Design

T-FLEX Parametric CAD. Fundamentals. 2D Design

T-FLEX Parametric CAD. Fundamentals. 2D Design

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Control Elements. Creating User Defined Dialog Boxes<br />

default value of the “Level” parameter is “0”, the parameter “Layer” – “Main”, the font parameters – “By<br />

default”.<br />

The general parameter “Priority” is assigned automatically in the process of control element creation,<br />

reflecting the order of creation: the first control is assigned priority “0”, next – “1”, etc.<br />

Besides the general system parameters, control elements have a set of additional parameters:<br />

Caption (the text displayed on the control);<br />

Color of characters (in the cases of “Frame” and “Preview” – the color of the frame strokes or the box<br />

background);<br />

Background Color of the control element (for the element “Group Box” – the background color under the<br />

group name);<br />

Horizontal Alignment;<br />

Vertical Alignment.<br />

The two latter parameters define the caption text position with respect to the control element boundaries.<br />

Some of the above-mentioned parameters are omitted in certain control elements. For example, the “Button”<br />

control omits the parameter “Background Color”, while the “Group Box” does not require the parameter<br />

“Vertical Alignment”, since the group name is always positioned along the top boundary. Note that, when<br />

defining parameters of a particular control element, only its relevant parameters will be accessible in the<br />

“Control Parameters” dialog box.<br />

Some control elements also have their own specific parameters:<br />

Frame:<br />

Frame Type: frame or rectangle.<br />

Edit Box:<br />

Multiline EditBox – used for text variables only.<br />

Permits entering multiple lines.<br />

Show Expression. This parameter affects custom<br />

dialogs when using variables. Usually, names of the<br />

variables are not displayed in the dialog boxes,<br />

when such variables or expressions are used as<br />

parameters of the fragments being inserted into<br />

assemblies. This option outputs name of a variable<br />

in edit fields of the dialog boxes. At the same time<br />

variable’s value or expression is displayed nearby.<br />

Read Only. When this flag is turned on, the editor<br />

will work in a regime “read only”, i.e., in the Edit<br />

Box field the value of the connected to this field<br />

variable will be shown but this value will not be<br />

possible to modify.<br />

Combo Box:<br />

Editable – allows direct input of variable values without selecting from the list.<br />

Check Box:<br />

On – defines the value assigned to the variable when the box is checked;<br />

Off – the value assigned to the variable when the box is cleared.<br />

539

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

Saved successfully!

Ooh no, something went wrong!