Kexi/Håndbog/Byg en enkel database/Design af formularer/De vigtigste begreber

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

De vigtigste begreber

Formular
Et vindue, som gør det let at indtaste data og præsentere dem på skærmen.
Formulars datakilde
Databesetabel eller -forespørgsel, som vises i formularen. Der skal være en datakilde, for formularen selv er kun et værktøj til at indtaste og fremvise data, mens data findes i tabeller og forespørgsler. En ny, tom formular har ingen datakilde tilknyttet, så de fremviser ingen data fra din database før du har knyttet en datakilde til dem.
Formularfelt
Svarer direkte til en søjle i en tabel eller forespørgsel. Oftest bruges felter til at fremvise tekst og tal. Indtaster du en ny værdi eller ændrer en eksisterende værdi af sådan et felt, så ændres den dertil bundne tabel- eller forespørgselssøjle (efter at du har accepteret ændringen).
Form design
Tasks you are performing to define the appearance and functions of the form. To do this, you need to provide data source, insert form fields of various types and place them at the appropriate location.
Form widget
Form's element. Main widget types are:
  • Widgets displaying information, e.g. a text box or an image box. Each widget of this type can be bound to a data source field (a table or a query column). Therefore, such widgets are called in short form fields.
  • Widgets able to perform a specified action, e.g. a push button that can close the current form. Within other applications this widget type is sometimes called form control because it can perform previously defined action of controlling your database application's behavior.
  • Other widgets allowing to enrich a form's appearance, e.g. a “line widget” can visually separate two form areas.
Container widget
A widget that can contain other widgets within its area. For example, frame widget or tab widget are containers. The form's surface itself is a container as well. A command button cannot be called as container because it is not possible to insert a widget inside it. In more complex cases, container widgets can be inserted inside a container, so nesting is possible.