exi/Håndbog/Byg en enkel database/Design af formularer/Arbejdet med design af formularer

From KDE UserBase Wiki
Revision as of 19:19, 18 April 2012 by Claus chr (talk | contribs) (Importing a new version from external source)
Other languages:

Arbejdet med design af formularer

Som ved design af tabeller eller forespørgsler har du en datavisning og en designvisning. Design af formularer udføres i designvisningen. Vi vil ofte henvise til formulardesignvisninges som formulardesigneren.

  1. For at oprette en ny, tom formular vælger du <menuichoice>Formular</menuchoice> i værktøjslinjen. Alternativt kan du højreklikke på Formular i Projeknavigator og vælge Opret objekt: Formular... i kontekstmenuen.
  2. A new frame will appear, you can resize the form by moving the borders. The form is covered with a grid which simplifies accurate positioning of the widgets.

As with table design, Form Designer provides a Property Editor pane. To save some space on the screen, the pane has three tabs related to the currently selected form:

The Properties tab
Contains a list of properties for the currently selected widget.
The Data source tab
Contains properties related specifically to the data source of the currently selected widget or the form itself.
The Widgets tab
Contains a hierarchy of all widgets of the form. The list simplifies widgets lookup by name and navigation between them.

There is information about currently selected widget's name and type displayed on the first and second tab.

Additional toolbars are also available:

  • The Widgets toolbar used for inserting new widgets into the form. Select the Form Design to display it.