[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Event handler signalled to perform the actions needed when the menu item is executed.
Source position: menus.pp line 351
published property TMenuItem.OnClick : TNotifyEvent |
OnClick is a TNotifyEvent property with the event handler signalled when the menu item is executed. OnClick is signalled from the Click method (when assigned) if the menu item is Enabled. OnClick is not signalled (even when assigned) if the menu item has an Action with an OnExecute event handler; the action is used instead.
OnClick (or OnExecute in an action) occurs after values in AutoCheck and Checked has been examined and optionally updated in the Click method.
|
Performs actions needed when the menu item is clicked. |
|
|
Indicates if the menu item can be selected and executed. |
|
|
Indicates whether the menu item is visible (True) or hidden (False). |
|
|
Action is the default action associated with the menu item. |
|
|
Contains the link to the Action for the menu item. |
|
|
TMenuActionLink: defines the link between a selected menu item and its corresponding action. |
|
Version 4.0 | Generated 2025-05-03 | Home |