[Overview][Types][Classes][Procedures and functions][Variables][Index] |
Calls the OnButtonClicked event handler for the task dialog which owns the emulated dialog form.
Source position: lcltaskdialog.pas line 203
protected procedure TEmulatedTaskDialog.HandleEmulatedButtonClicked( |
Sender: TObject |
); |
Sender |
|
Object instance (TButton) for the click event processed in the method. |
HandleEmulatedButtonClicked is a method used to signal an assigned OnButtonClicked event handler on the task dialog which owns the emulated dialog form. No actions are performed in the method if Owner (the TTaskDialog passed in the constructor) or its OnButtonClicked event handler have not been assigned.
HandleEmulatedButtonClicked signals the OnButtonClicked event in the Owner using the modal result value in Sender as an argument. If the event handler indicates that the dialog cannot be closed, the ModalResult property in the form is set to mrNone. Other modal result values are handled by the TaskDialog.Execute method.
Version 4.0 | Generated 2025-05-03 | Home |