[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Dialog action used to create, configure, and display a dialog.
Source position: stdactns.pas line 124
type TCommonDialogAction = class(TCustomAction) |
||
protected |
||
|
FDialog - local variable holding the Dialog associated with this action. |
|
procedure DoAccept; |
|
DoAccept - perform the code for the OnAccept event. |
procedure DoBeforeExecute; |
|
Performs the BeforeExecute notification when assigned. |
procedure DoCancel; |
|
DoCancel - perform the code for the OnCancel event. |
function GetDialogClass; virtual; |
|
GetDialogClass - returns the class type for the dialog associated with this action. |
procedure CreateDialog; virtual; |
|
Create a new instance of the class type used in the Dialog property. |
public |
||
constructor Create(); override; |
|
Constructor for the class instance. |
function Handlestarget(); override; |
|
|
procedure ExecuteTarget(); override; |
|
|
property ExecuteResult: Boolean; [r] |
|
ExecuteResult - the result of the execution: True if successful. |
property BeforeExecute: TNotifyEvent; [rw] |
|
BeforeExecute - event handler for performance before execution of the action. |
property OnAccept: TNotifyEvent; [rw] |
|
OnAccept - event handler for a press of the Accept button. |
property OnCancel: TNotifyEvent; [rw] |
|
OnCancel - event handler for a press of the Cancel button. |
published |
||
property OnUpdate; |
|
|
end; |
|
Dialog action used to create, configure, and display a dialog. |
|
| | ||
|
TCustomAction is the ancestor class for TAction. |
|
| | ||
|
Implements an Action class which has a category and parent action list. |
|
| | ||
TObject |
|
TCustomAction is the ancestor class for TAction. |