Kexi/Handbook/Building Simple Databases/Designing Forms/Inserting widgets - text fields

Jump to: navigation, search
Other languages:Danish 100% • ‎English 100%

Inserting widgets - text fields

Let's create a form providing information about persons, i.e. a form connected it with Persons table.

If the form being designed should present data obtained from the database, you need to place appropriate fields on it. To do this, use the buttons on the Widgets toolbar. Each button corresponds to a single widget type.

  1. Click Text Box button on the Widgets toolbar.
  2. Click on the form surface with the left mouse button. A new text box widget will be placed in the point where you clicked. Before you release you can drag your mouse to specify a desired size for the widget.
  3. If needed, move the inserted widget using drag & drop to a desired position. You can resize the widget afterwards by dragging one of the small boxes appearing near its corners. Note that the boxes are only visible when the widget is selected. If you select another widget or the form surface, the boxes disappear.
  4. Click the Text Box toolbar button again and click on the form surface to insert another widget. Repeat this action once again until you get three more text boxes inserted in your form. For the sake of simplicity we will limit ourselves to five data fields.
Note-box-icon.png
 
Note
* There is a context menu available in form's design mode, activated by a right mouse button click the desired widget or the form's surface. The menu offers commands like Cut, Copy, Paste, Delete and other, more complex. Keyboard shortcuts are also available for these commands. Some of the commands are only available for certain types of widgets.
  • The commands Cut, Copy and Paste makes it possible to move or copy widgets between forms, even between separate database projects.
  • Holding the Ctrl key down while clicking a widget allows to select multiple widgets.
  • Instead of using Copy and Paste commands, to duplicate a widget within the same form you can hold down the Ctrl key while moving the widget. After the mouse button is released, the dragged widget will not be moved but copied in the new location.



This page was last modified on 20 April 2012, at 08:44. This page has been accessed 1,888 times. Content is available under Creative Commons License SA 3.0 and the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal