Default actions
Default actions are provided depending on the control type. Default actions might be referenced from within an application, but may also be overloaded in specific application context. In order to call a default action from within an application context function, one may call GUIBaseContext::executeAction().
Default actions are listed for each control type (Design objects/Control style reference). Below, all actions are listed in alphabetic order.
In order to change texts, icons or short cuts, default actions may be overloaded by defining action controls (Designer). One must not change the action name, since in this case, the action will not be found later on.
Default actions are predefined within the GUI frame work. This definition simply refers to an action label (displayed text) and a short cut. In order to change label text or add icons, action controls might be defined in the designer. Action controls having the same name as the default action will overload short cut, label, icon, font, tool tip and help text.
By setting the action control for a default action to disabled, it might be removed from the list of default controls.
Defining action controls for an application allows setting application defaults for standard actions. Those might be overloaded later on by specific user or run-time settings in the Options.GUI.Actions section.
There are limited options for overload default actions at run-time. By creating an entry in the Options.GUI.Actions section referring to the default actions name, one may suppress a default action, change the short cut or set the initial state for the action to hidden or disabled.
In order to call default actions from within an application, executeAction() has to be called.
// set selection in a tree control which is not the
// current control. Tree control context is provided
// by calling GetActiveTree().
... myControlContext::TreeSelection() {
GetActiveTree().executeAction("SetSelection","Function");
}
Do not call executeFunction, which only looks for functions implemented in the referenced context class hierarchy, but not for actions.
Subtopics
- ActionLogPause - Pause action log replay (Ctrl+Alt+F11)
- ActionLogRecord - Start recording actions in action log (Ctrl+Alt+F10)
- ActionLogRun - Start replaying action log (Ctrl+Alt+F12)
- ActionLogStop - Stop recording actions in action log (Ctrl+Alt+F9)
- Associate - Associate entry from base collection (Ctrl+Shift+F5)
- AppendEntry - Append (new) entry (Shift+Ctrl+A)
- BrowseDirectories - BrowseDirectory - Browse directories (Shift+Ctrl+B,D)
- BrowseFiles - Browse file for processing (Shift+Ctrl+B,F)
- BrowseManyFiles - Browse many file for processing (Shift+Ctrl+B,M)
- BrowseWriteFiles - Browse new file for processing (Shift+Ctrl+B,F)
- CopyEntry - Copy entry within a collection (F5)
- CopySelected - Copy selected entries within a collection (Shift+F5)
- CSVExport - Export list/table content to .csv file (Ctrl+E,C)
- DeleteEntry - Delete entry from reference (Del)
- DeleteSelected - Delete selected entries from reference (Shift+Del)
- DeleteSet - Delete all collection instances (Ctrl+Del)
- EditEntry - Edit currently selected entry (F4)
- Exit - Exit application (Ctrl+Q)
- ExportFile - Export text to file (Ctrl+Shift+E,F)
- FindEntry - Find next entry (F3)
- Goto - Go to line or paragraph (Ctrl+G)
- Help - Display context related help (Shift+F1)
- ImportFile - import text from a file (Ctrl+Shift+I,F)
- InsertEntry - Insert (new) entry before current position (Shift+Ctrl+I)
- Maximize - Maximize multi-line edit control (Ctrl+F11)
- MoveDown - Move instance upwards (Shift+Down)
- MoveUp - Move instance upwards (Shift+Up)
- NewFindEntry - Find text entry in list or text field (Ctrl+F3)
- NextVersion - Select next version (Ctrl+Shift+Right)
- NextEntry - Select next entry (Ctrl+Right)
- PlainText - Display and edit plain text (Ctrl+F10)
- PreviousEntry - Select previous entry (Ctrl+Left)
- PreviousVersion - Select previous version (Ctrl+Shift+Left)
- ProcessAction - Process action
- Refresh - Refresh list items
- RemoveEntry - Remove entry from reference (Del)
- RemoveSelected - Remove selected entries from reference (Shift-Del)
- RemoveSet - Remove all instances from collection (Ctrl+Del)
- RenameSelected - Rename all selected entries
- RenameSelected - Rename all selected entries
- ResetCascadingSelection - Reset last condition added to current selection
- ResetSelection - Reset previously set selection filter
- RestoreDefaults - Enable list default settings
- SetCascadingSelection - Add condition to current selection
- SetSelection - Set selection filter for collection
- Store data to data source
- TextBackColor - Set text background color
- TextBar - Show text edit bar (F10)
- TextBold - Use bold face style (Ctrl+B)
- TextCenter - Center text (Ctrl+T,C)
- TextColor - Set text color
- TextFont - Change text font
- TextFontBigger - Increase text size
- TextFontSmaller - Decrease text size
- TextItalic - Use italic style (Ctrl+I)
- TextJustify - Justify text (Ctrl+T,J)
- TextLeft - Allign text left (Ctrl+T,L)
- TextRight - Allign text right (Ctrl+T,R)
- TextStrikeOut - Strike out text (Ctrl+O)
- TextStyleCircle - Set circle list style (Ctrl+L,C)
- TextStyleDecimal - Set number list style (Ctrl+L,N)
- TextStyleDisc - Set disc list style (Ctrl+L,D)
- TextStyleIndent - Increase text indent level
- TextStyleLowerAlpha - Set lower case letter list style (Ctrl+L,L)
- TextStyleNoList - Reset list style (Ctrl+L,X)
- TextStyleSquare - Set square list style (Ctrl+L,S)
- TextStyleUnIndent - Decrease text indent level
- TextStyleUpperAlpha - Set upper case letter list style (Ctrl+L,L)
- TextTopMarginLess - Decrease top margins
- TextTopMarginMore - Increase top margins
- TextUnderline - Underline text (Ctrl+U)
- ZoomIn - ToDefault - Restore default size for multi-line edit control (Ctrl+F12)
- UpdateEntries - Update collection instances