Previous Next Edit Rename Undo Refresh Search Administration
| Documentation |
|
| Static methods | |
| Get Lock Raise Register UnLock |
| Properties | |
| Enabled Picture Text ToolTip Value Visible |
An action is a string key that links together controls that must have the same goal.
For example, a "Save" Menu entry and a Button in a ToolBar with a "Save" icon. Instead of having to make control groups and catching events, you can use actions to:
An action whose name begins with a dot is a "local" action. When raised, only the main observer of linked controls, as returned by the Object.Parent method, will catch them.
That feature is used in the Workspace child windows of the Gambas IDE: the child window tool buttons are all associated with local actions.
If they were not, raising the associated action would activate it for all child windows using it, and not for the one owning the toolbar only!