| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Collection type used to access and maintain buttons defined for a Task dialog.
Source position: dialogs.pp line 660
| 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; | 
| 
 | Collection type used to access and maintain buttons defined for a Task dialog. | |
| | | ||
| | | ||
| | | ||
| | | ||
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.
| 
 | Collection with the buttons for the Task dialog. | |
| 
 | Collection with the optional radio buttons defined for the Task dialog. | 
| Version 4.0 | Generated 2025-05-03 | Home |