company logo

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, d efault 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.

Setting layout for default actions

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.

Overload default actions at run-time

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.

Calling default actions

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");

}

Notes:

Do not call executeFunction, which only looks for functions implemented in the referenced context class hierarchy, but not for actions.

Subtopics

  1. ActionLogPause - Pause action log replay (Ctrl+Alt+F11)
  2. ActionLogRecord - Start recording actions in action log (Ctrl+Alt+F10)
  3. ActionLogRun - Start replaying action log (Ctrl+Alt+F12)
  4. ActionLogStop - Stop recording actions in action log (Ctrl+Alt+F9)
  5. Associate - Associate entry from base collection (Ctrl+Shift+F5)
  6. AppendEntry - Append (new) entry (Shift+Ctrl+A)
  7. BrowseDirectories - BrowseDirectory - Browse directories (Shift+Ctrl+B,D)
  8. BrowseFiles - Browse file for processing (Shift+Ctrl+B,F)
  9. BrowseManyFiles - Browse many file for processing (Shift+Ctrl+B,M)
  10. BrowseWriteFiles - Browse new file for processing (Shift+Ctrl+B,F)
  11. CopyEntry - Copy entry within a collection (F5)
  12. CopySelected - Copy selected entries within a collection (Shift+F5)
  13. CSVExport - Export list/table content to .csv file (Ctrl+E,C)
  14. DeleteEntry - Delete entry from reference (Del)
  15. DeleteSelected - Delete selected entries from reference (Shift+Del)
  16. DeleteSet - Delete all collection instances (Ctrl+Del)
  17. EditEntry - Edit currently selected entry (F4)
  18. Exit - Exit application (Ctrl+Q)
  19. ExportFile - Export text to file (Ctrl+Shift+E,F)
  20. FindEntry - Find next entry (F3)
  21. Goto - Go to line or paragraph (Ctrl+G)
  22. Help - Display context related help (Shift+F1)
  23. ImportFile - import text from a file (Ctrl+Shift+I,F)
  24. InsertEntry - Insert (new) entry before current position (Shift+Ctrl+I)
  25. Maximize - Maximize multi-line edit control (Ctrl+F11)
  26. MoveDown - Move instance upwards (Shift+Down)
  27. MoveUp - Move instance upwards (Shift+Up)
  28. NewFindEntry - Find text entry in list or text field (Ctrl+F3)
  29. NextVersion - Select next version (Ctrl+Shift+Right)
  30. NextEntry - Select next entry (Ctrl+Right)
  31. PlainText - Display and edit plain text (Ctrl+F10)
  32. PreviousEntry - Select previous entry (Ctrl+Left)
  33. PreviousVersion - Select previous version (Ctrl+Shift+Left)
  34. ProcessAction - Process action
  35. Refresh - Refresh list items
  36. RemoveEntry - Remove entry from reference (Del)
  37. RemoveSelected - Remove selected entries from reference (Shift-Del)
  38. RemoveSet - Remove all instances from collection (Ctrl+Del)
  39. RenameSelected - Rename all selected entries
  40. RenameSelected - Rename all selected entries
  41. ResetCascadingSelection - Reset last condition added to current selection
  42. ResetSelection - Reset previously set selection filter
  43. RestoreDefaults - Enable list default settings
  44. SetCascadingSelection - Add condition to current selection
  45. SetSelection - Set selection filter for collection
  46. Store data to data source
  47. TextBackColor - Set text background color
  48. TextBar - Show text edit bar (F10)
  49. TextBold - Use bold face style (Ctrl+B)
  50. TextCenter - Center text (Ctrl+T,C)
  51. TextColor - Set text color
  52. TextFont - Change text font
  53. TextFontBigger - Increase text size
  54. TextFontSmaller - Decrease text size
  55. TextItalic - Use italic style (Ctrl+I)
  56. TextJustify - Justify text (Ctrl+T,J)
  57. TextLeft - Allign text left (Ctrl+T,L)
  58. TextRight - Allign text right (Ctrl+T,R)
  59. TextStrikeOut - Strike out text (Ctrl+O)
  60. TextStyleCircle - Set circle list style (Ctrl+L,C)
  61. TextStyleDecimal - Set number list style (Ctrl+L,N)
  62. TextStyleDisc - Set disc list style (Ctrl+L,D)
  63. TextStyleIndent - Increase text indent level
  64. TextStyleLowerAlpha - Set lower case letter list style (Ctrl+L,L)
  65. TextStyleNoList - Reset list style (Ctrl+L,X)
  66. TextStyleSquare - Set square list style (Ctrl+L,S)
  67. TextStyleUnIndent - Decrease text indent level
  68. TextStyleUpperAlpha - Set upper case letter list style (Ctrl+L,L)
  69. TextTopMarginLess - Decrease top margins
  70. TextTopMarginMore - Increase top margins
  71. TextUnderline - Underline text (Ctrl+U)
  72. ZoomIn - ToDefault - Restore default size for multi-line edit control (Ctrl+F12)
  73. UpdateEntries - Update collection instances