[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'StdActns' (#lcl)

TCommonDialogAction

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TCommonDialogAction - base class for providing actions associated with Dialogs

Declaration

Source position: stdactns.pas line 130

type TCommonDialogAction = class(TCustomAction)

protected

  FDialog: TCommonDialog;

  

FDialog - local variable holding the Dialog associated with this action

  procedure DoAccept;

  

DoAccept - perform the code for the OnAccept event

  procedure DoBeforeExecute;

  

DoBeforeExecute - perform the code for the BeforeExecute event

  procedure DoCancel;

  

DoCancel - perform the code for the OnCancel event

  function GetDialogClass; virtual;

  

GetDialogClass - returns the class of dialog associated with this action

  procedure CreateDialog; virtual;

  

CreateDialog - method for creating the dialog

public

  constructor Create(); override;

  

  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

end;

Inheritance

TCommonDialogAction

  

TCommonDialogAction - base class for providing actions associated with Dialogs

|

TCustomAction

  

TCustomAction is the ancestor class for TAction

|

TContainedAction

  

TContainedAction - parent class for TCustomAction; defines some properties especially relationships with parents

|

TBasicAction

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent

|

TObject

The latest version of this document can be found at lazarus-ccr.sourceforge.net.