Kexi/Handbook/Building Simple Databases/Designing Forms/Actions: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 52: | Line 52: | ||
|prevpage=Special:MyLanguage/Kexi/Handbook/Building_Simple_Databases/Designing_Forms/Inserting_text_labels | |prevpage=Special:MyLanguage/Kexi/Handbook/Building_Simple_Databases/Designing_Forms/Inserting_text_labels | ||
|prevtext=Inserting text labels | |prevtext=Inserting text labels | ||
|nextpage=Special:MyLanguage/Kexi/Handbook/Building_Simple_Databases/ | |nextpage=Special:MyLanguage/Kexi/Handbook/Building_Simple_Databases/Entering Data Using Forms | ||
|nexttext= | |nexttext=Entering Data Using Forms | ||
|index=Special:MyLanguage/Kexi/Handbook|indextext=Back to menu | |index=Special:MyLanguage/Kexi/Handbook|indextext=Back to menu | ||
}} | }} |
Latest revision as of 20:42, 25 December 2024
Actions
An Action is a single activity isolated in the application, available for the user to execute. It can also be executed automatically as a reaction for a given event (e.g. after opening a form).
Assigning actions to form buttons
Many actions can be assigned to form button. The assigned action is executed after button is clicked.
To assign action:
- Switch to form's Design view if you have not done yet.
- 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 category 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.