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

TTaskDialogButtons

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

Collection type used to access and maintain buttons defined for a Task dialog.

Declaration

Source position: dialogs.pp line 601

type TTaskDialogButtons = class(TOwnedCollection)

public

  function Add;

  

Adds a new collection item using the ItemClass for the collection.

  function FindButton();

  

Gets the button item in the collection with the specified modal result value.

  function GetEnumerator;

  

Gets an enumerator for the buttons in the Items property.

  property DefaultButton: TTaskDialogBaseButtonItem; [rw]

  

Contains the collection item that is the default button for a Task dialog.

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

  

Provides indexed access to buttons defined in the collection.

end;

Inheritance

TTaskDialogButtons

  

Collection type used to access and maintain buttons defined for a Task dialog.

|

TOwnedCollection

|

TCollection

|

TPersistent,IFPObserved

|

TObject

Description

TTaskDialogButtons is a TOwnedCollection descendant which implements the collection used for the buttons on a Task dialog. TTaskDialogButtons provides properties and methods used to access and maintain the buttons in the collection, such as: Add, FindButton, DefaultButton, Items, and GetEnumerator.

TTaskDialogButtons is the type used for the Buttons and RadioButtons properties in TCustomTaskDialog / TTaskDialog.

See also

TCustomTaskDialog.Buttons

  

Collection with the buttons for the Task dialog.

TCustomTaskDialog.RadioButtons

  

Collection with the optional radio buttons defined for the Task dialog.


Version 3.2 Generated 2024-02-25 Home