Kexi/Handbook/Building Simple Databases/Designing Forms/Actions/da: Difference between revisions
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 10: | Line 10: | ||
For at tildele en handling: | For at tildele en handling: | ||
# | # Gå til formularens designvisning, hvis du ikke allerede er dér. | ||
# Select the existing button widget by clicking on it or put a new button widget onto the form. If you inserted a new button, enter its title and press <keycap>Enter</keycap> key. | # Select the existing button widget by clicking on it or put a new button widget onto the form. If you inserted a new button, enter its title and press <keycap>Enter</keycap> key. | ||
# Click the button widget with the right mouse button to display the context menu. | # Click the button widget with the right mouse button to display the context menu. |
Revision as of 11:16, 20 April 2012
Handlinger
En handling er en enkelt, isoleret aktivitet i programmet, som brugeren kan udføre. Den kan også udføres automatisk som følge a en given handling (fx efter åbning af en formular).
Tildeling af handlinger til knapper i formularer
Knapper i formularer kan tildeles mange handlinger. Den tildelte handling udføres når der klikkes på knappen.
For at tildele en handling:
- Gå til formularens designvisning, hvis du ikke allerede er dér.
- Select the existing button widget by clicking on it or put a new button widget onto the form. If you inserted a new button, enter its title and press Enter key.
- Click the button widget with the right mouse button to display the context menu.
- From the context menu select command.
- An Assigning Action to Button dialog window will appear presenting a list of available actions. One of the actions is selected if the widget already has action assigned. Otherwise the Action category list has the item selected.
- From the Action type list select item. Available application-wide actions will be listed.
- Select one of the actions on the list (e.g. ).
After switching to the form's data view you can try whether the action works.