===== 12.3.3 Action =====
The two classes Action (gb.qt4) and Action (gb.form.mdi) allow you to manage the actions that you can define in the Action property of many components. The Action (gb.qt4)
00px 100px - >|
^Property^Data type^Description^
|Action|PdfAction|Returns the action associated with this index entry.|
|Children|Integer|Returns the number of s... |Returns a virtual object that describes what the action triggers for actions that target a different loca... |Returns a virtual object that describes what the action triggers for actions that start another programme
t if.
- a key string has been set and
- the .Action property has been set for the ToolButton or MenuB... t environment (IDE).
* The same applies to the .Action property of ToolButton or MenuButton in the ToolB... t the MenuButton is not configurable because its .Action property has not been set.
* The menu with its... you must set the ToolButton.Key property and the .Action property for the ToolButton and MenuButton there
x 100px - >|
^Property^Type^Default^Description^
|Action|String|Null|Sets or returns the action string. The action value is True if the sidepanel is visible and False if it is hidden. For a SidePanel, Action.Value returns the visibility of the SidePanel → A
nent has the three classes Workspace, ToolBar and Action.
Workspace → Chapter 12.3.1\\
The class implemen... nts a toolbar to hold ToolButton and MenuButton.
Action → Chapter 12.3.3\\
The Action class (gb.form.mdi) extends the Action class from gb.qt4. It provides you with a list in an array via the
dText(...))|
|PdfAction|This class represents the action associated with an index entry. As of version 3.1... dfActionGoto|This virtual class describes what an action triggers for actions that target a different loca... ctionLaunch|This virtual class describes what the action triggers for actions that start another programme... dfActionURI|This virtual class describes what the action triggers for actions that target an external URI.
should be' canceled'.
* Some events support the action of being aborted. The KeyPress event is one of th... textbox A (printing on the return key) a certain action is to be triggered and then the cursor is to be p... de = Key.Enter Or Key.Code = Key.Return Then
' ACTION ...
txb_B.SetFocus()
' Desktop.SendKeys("
en map it in a table:
^Name^Level^Group^Caption^Action^Day^Shortcut^V^E^T^C^
|mnu1Menu|0|~|Picturefile|~... .3: Save - demand
Entries in the menu editor for Action are only necessary if, for example, you want to use the Action class for synchronization between the menu and an
0px 110px - >|
^Property^Data type^Description^.
|Action|String|Sets the action string associated with the component or returns the value (→ Chapter 12.3.3 Action).|
|Arrange|Integer|Determines or sets how the co
mnu16Close.Caption = "Close"
[55] mnu16Close.Action = "FormClose"
[56] mnu16Close.Picture = Picture... [85] mnu31Help.Shortcut = "F1"
[86] mnu31Help.Action = "HelpMe"
[87] mnu31Help.Picture = Picture["ic... e has been created. You can also call the program action[line 105] assigned to the mnu14SaveAs menu later
["picture"].Length = 0 Then
Message.Info("Action:<br>Insert new image.")
Else
If Messag... t image?", "Yes", "No") = 1 Then
Print "Action: Change current image."
Else
Print "Action: No change current image."
Stop Event
00px 100px - >|
^Property^Data type^Description^
|Action|String|Returns or sets the action string assigned to the control → Chapter 12.3.3 Action.|
|All|String|Defines an additional element that i
etely, search text, search and replace text, undo action, repeat action and extensive context menu, the source code editor of the IDE offers the following feature