Control Elements Modification

Return to chapter overview

To modify control elements, the control editing command is provided, "EO: Edit Control"

 

Keyboard

Textual Menu

Icon

<EO>

"Edit|Draw|Control"

 

 

The control editing command can also be called from the context menu.

Upon calling the command, the following options become available in the automenu:

       <*>        Select All Elements        

       <R>        Select element from list        

       <T>        Change Controls Tab Order        

       <S>        Set Recommended Page Parameters        

       <Esc>        Exit command        

The option is used for assigning default parameters of a dialog page to the current page (those set at creation by the option ). The page being modified is assigned the type "Controls". This page is automatically check marked in the list of pages under the "Marked variable editor" parameter in the command "ST: Set Document Parameters".  The parameter itself switches to the "Pages" setting. The option is used on the pages created or modified by using the commands "Customize|Pages…", "Customize|Page Size" or "Customize|Grid ".

The option        allows changing the order of control element activation.

Control elements have a certain order that defines transition to the next element upon pressing the keys <Tab> and <Shift><Tab>, and priority, that defines the order of overlapping of the control element images. By default, both properties are assigned according to the order of element creation. That means, the transition will occur from the first created element to the next one, while the priority of each element is higher than that of the previous, and lower than that of the next one.

Upon calling the option , the order number is displayed next to each control element.  If you need to change the order of elements, select them in the desired order. To confirm the changes, press the icon or <Enter>. If you made a mistake when defining the order of elements, press or <Esc>, and then select the option again.

clip1817                

To modify a control element (or a group of elements), select it by clicking Левый клик Текст (you can also use box selection, <Shift>+Левый клик Текст for multiple selections, selection by name from the list using the option , or selection of all elements on the page by the option ).

If selecting a single element, you can modify its size. To do this, simply point the mouse to the border of the element rectangular area. The pointer shape changes to clip1822. Dragging the mouse with Левый клик Текст depressed changes the size of the selected element.

To move the selected element (group of elements), simply point the mouse inside the element rectangular area. The pointer shape changes to clip1824. Dragging the mouse with Левый клик Текст depressed changes the position of the selected element.

Upon selecting an element, you can use the following options (the full set of accessible options depends on the element type):

<P>

Edit Control Parameters

<V>

Change Control Variable

<Y>

Create Name for selected Element

<A>

Edit Actions List

<I>

Select Other Element

<Del>

Delete selected Element(s)

<Esc>

Cancel selection

The option is only accessible for the control elements that are bound to variables. This option allows reassigning the variable, whose value is controlled by the selected element (all steps in this case are the same as when creating the control element).

The option is only accessible for the "Button"-type control elements. It allows adding/deleting the actions to perform when pressing the selected button.

The option calls the property window of the selected control element. For "Frame", "Group Box",  "Static Text" and "Preview" elements, this window can be called by double-clicking Левый клик ТекстЛевый клик Текст. In the case of multiple selections, the option first brings up the "Change parameters" dialog box. In this dialog box, you need to mark the parameters to be edited. By default, all parameters of the selected elements are subject to editing. If a parameter should not change, clear the check mark before its name. Upon specifying the set of parameters to be edited and pressing [OK], the standard dialog box appears for defining the parameters of the selected elements. The parameters that cannot be modified are made inaccessible. Note that some general parameters ("Layer", "Level", etc.) can be edited using the system toolbar.

s478