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.

Macros<br />

The buttons and allow sorting the list of object properties alphabetically and by categories,<br />

respectively.<br />

For some properties, you can specify only strictly defined values.<br />

In such a case, the value input field will be represented by a combo<br />

box; when accessed, this combo box displays the property values<br />

available for selection.<br />

Placing Control Elements on Form<br />

To place control elements on a form, you need<br />

to complete the following steps:<br />

• Select the form to which you need to add<br />

a control.<br />

• Select the desired element in the<br />

«Toolbox» window.<br />

• Click anywhere on the form. Upon<br />

•<br />

that, the selected control element will be<br />

added to the form.<br />

Drug the control to the desired position<br />

on the form.<br />

Writing Procedures for Control Elements on Forms<br />

After placing control elements on forms, you need to bind those elements to the executable code. The code<br />

responsible for processing events of the given control element is contained in a dedicated «Code» window<br />

corresponding to the given form. There are two ways to access this window:<br />

• In the «Projects» window, call the command «Open Code» from the<br />

context menu of the selected form. Doing so opens the window<br />

containing executable code for the form, so that you can add<br />

procedures for processing control element events in this form.<br />

• Double-click the control element on the form or call this<br />

command from the context menu of the control element. This<br />

brings up a window and automatically creates a procedure there for<br />

processing the driving method of the respective element. Default<br />

events are defined for each control element.<br />

You can switch between the form window and the code window either by the context menu commands of<br />

this form («Open <strong>Design</strong>», «Open Code»), or with the help of the respective tabs located under the code<br />

window.<br />

Code Window for Control Elements on Form<br />

The code window is a text editor that allows writing procedures for processing control element events for the<br />

given form.<br />

751

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

Saved successfully!

Ooh no, something went wrong!