[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Event triggered when the action executes.
Source position: classesh.inc line 1424
public property TBasicAction.OnExecute: TNotifyEvent |
OnExecuteis the event triggered when the action is activated (executed). The event is triggered e.g. when the user clicks e.g. on a menu item or a button associated to the action. The application programmer should provide a OnExecuteevent handler to execute whatever code is necessary when the button is pressed or the menu item is chosen.
Note that assigning an OnExecutehandler will result in the Executemethod returning a Truevalue. Predefined actions (such as dataset actions) will check the result of Executeand will not perform their normal task if the OnExecutehandler was called.
|
Triggers the OnExecuteevent |
|
|
Event trigged when the application is idle. |