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

TDialogButtons

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

Collection of TDialogButton descriptions.

Declaration

Source position: interfacebase.pp line 99

type TDialogButtons = class(TCollection) end;

protected

  FCancelButton: TDialogButton;

  FDefaultButton: TDialogButton;

  function GetItem();

  procedure SetCancelButton(); virtual;

  procedure SetDefaultButton(); virtual;

  procedure SetItem();

public

  destructor Destroy; override;

  function Add;

  

Adds a new button description.

  function FindButton();

  

Find the button associated with (one of) the given modal result.

  property DefaultButton: TDialogButton; [rw]

  

The Default button for this dialog kind.

  property CancelButton: TDialogButton; [rw]

  

The Cancel button for this dialog kind.

  property Items []: TDialogButton; default; [rw]

  

Indexed access to the button descriptions.

Inheritance

TDialogButtons

  

Collection of TDialogButton descriptions.

|

TCollection

?

TObject

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