Moving an object in the Graphical Painter Form does not change the container of an object. It only changes the location of the object. For example, if you move an object into the region of a GridPanel, the GridPanel does not become the container of the object. Instead the GridPanel and object overlap each other.
If you want to change the container of controls, such as label, text field, list box, you must press the Ctrl key while moving them.
Group Controls within the same container associate with the same attribute.
To change the container for Group Controls, perform the following:
Select all the Group Controls that associate with the same attribute.
Since Group Controls never leave their container that associate to the same attribute, changing container for a few Group Controls results in attribute dissociation, which is not permitted.
Press and hold the Ctrl key when selecting multiple Group Controls.
Note: You should move the Group Controls to a container that does not have the same kind of Group Controls.
For example, to move Group Controls buttons from the GridPanel, perform the following:
Add four buttons, Button1, Button2, Button3, and Button4, to a GridPanel in the Painter.
Note: All the buttons associate with attribute 1.
Try to change the container of Button1, Button2, and Button3 by selecting and moving them.
The change container operation is not allowed. To change the container of the buttons, you should select all the four buttons and move them.
For example, to move a Text Field into a GridPanel, perform the following:
Add a Text Field and a Panel to the Painter.
Select the Text Field and press and hold the left mouse button.
Press and hold the Ctrl key and then move the selected Text Field into the Panel.
The boundary of the GridPanel gets highlighted and the GridPanel now becomes the container of the Text Field.
Since the Ctrl key is also used for multi-selection, the steps to move the controls with the Ctrl key is as follows:
Select the controls that you want to move.
Press and hold the left mouse button.
Press and hold the Ctrl key and then move the controls in the Form.