[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Defines the base class for a custom button displayed on a Task dialog.
Source position: dialogs.pp line 558
type TTaskDialogBaseButtonItem = class(TCollectionItem) |
||
protected |
||
property Client: TCustomTaskDialog; [r] |
|
TCustomTaskDialog where the button is used. |
function GetDisplayName; override; |
|
Gets the value for the DisplayName property. |
function TaskButtonCollection; |
|
Gets the collection where the button definition is stored. |
public |
||
constructor Create(); override; |
|
Constructor for the class instance. |
property ModalResult: TModalResult; [rw] |
|
Modal result value returned when the button is clicked. |
published |
||
property Caption: TTranslateString; [rw] |
|
Caption text displayed on the button surface. |
property Default: Boolean; [rw] |
|
Indicates if the button is the default button on a Task dialog. |
end; |
|
Defines the base class for a custom button displayed on a Task dialog. |
|
| | ||
| | ||
| | ||
TTaskDialogBaseButtonItem is a TCollectionItem descendant which defines a custom button that can be displayed on a Task dialog. It provides properties that indicate the Caption for the button, its use as the Default button on a dialog, and its ModalResult value.
TTaskDialogBaseButtonItem is the ancestor class for TTaskDialogBaseButtonItem.
|
Defines the base class for a custom button displayed on a Task dialog. |
Version 3.2 | Generated 2024-02-25 | Home |