| Unit 11. Forms (IV). |
|
Working with controls |
|
To select a control just click on it. When a control is selected it appears enclosed in some boxes, we call these boxes movement controllers (the bigger) and size controllers (the smaller) as we can see in the image below.
To select various controls we can click on one of the controls to select, maintain depressed Shift key and click on each one of the controls to select. If we want to select various adjacent controls there is an easier way: left click on the mouse over the background of the design area and without letting go drag it, we see that a box appears in the design area, and when we release the mouse button all the controls that enter into this box will remain selected (it is not necessary for the control to be entirely in the box).
To add a
new source field to a form, the fastest and easiest way is to open
the Fields box (if not already open) by clicking
on the If we want to add another type of control like an image, open the Toolbox, click on the type of control that we want to add, and let go of the mouse button, we see that the cursor has taken on a different form. We now position ourselves in the area of the form where we would like to define the control, left clic and maintaining, drag the mouse untill we have the desired size.
To move only the label, position the cursor over its movement controller, and when the cursor takes the form of an index finger drag it. We can move the control without its tag in much the same way, but the index finger needs to be over the movement controller of the control. To move various controls at the same time, we select and move one of them and they will all move the same way.
To change the size of a control select it so that the size controllers appear, next move the mouse over one of the size controllers, and when the cursor takes the form of a double arrow, left clic, maintain, and drag untill the control has the desired size. To change the size of various controls at the same time, we select and change the size of one of them and they will all change the same way.
|
|
|
|
|
|
|
|
If we want various controls to be the same size to leave our form more attractive we have a very useful tool, the Size option in the Format menu.
We proceed in the same way as with aligning controls, selecting the controls we want to adjust, drop down the Format menu, then the Size menu, and select the most adequate option. We can select To Fit, this makes the control the correct size so that all of its contents will fit. To Grid: adjusts to the grid. To Tallest: all contols take on the tallest height. To Shortest: all the controls take on the smallest height. To Widest: all the controls take on the largest width. To Narrowest: all the controls take on the narrowest width.
When we want to align and leave controls at the same size it is best to first adjust the size and then aline them up, as the aligning is sometimes lost when the sizes are adjusted.
If we want to change the distance between controls, apart from moving them freely in the design area, we can use the Format menu options.
|
|
|
|
|
|
|
|
| | | Page. 11.4 |
|
Legal warning: Authorised on-line use only. It is not allowed the use of these courses in companies or private teaching centres.
|
|
© aulaClic. All rights reserved. Reproduction in any form whatsoever is prohibited.
April-2006.
|