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

TDialogButton

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

Description of standard dialog buttons.

Declaration

Source position: interfacebase.pp line 78

type TDialogButton = class(TCollectionItem) end;

protected

  function GetDisplayName; override;

  

Here: returns Caption.

  procedure SetCaption(); virtual;

public

  constructor Create(); override;

  property Caption: string; [rw]

  

The button title.

  property Cancel: Boolean; [rw]

  

True for Cancel button(s) only.

  property Default: Boolean; [rw]

  

True for Default button(s) only.

  property ModalResult: LongInt; [rw]

  

The modal result, returned when the button is clicked.

Inheritance

TDialogButton

  

Description of standard dialog buttons.

|

TCollectionItem

?

TObject

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