Sign in Join
FPDoc Onlineexperiment

TCustomTaskDialog.DoOnButtonClicked procedure

Member of TCustomTaskDialogprotectedIn unit Dialogs

Signals the OnButtonClicked event handler (when assigned) for the button with the specified modal result value.

Declaration

pascal
procedure DoOnButtonClicked(AModalResult: Integer; 
 var ACanClose: Boolean); dynamic

Arguments

AModalResult

Modal result value signalled for the button click notification.

ACanCloseTrue if the dialog should be closed, or False to continue execution.

Description

DoOnButtonClicked is called from the callback routine passed to the wrapper in LCLTaskDialog.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.