TCustomTaskDialog.Create constructor
Constructor for the class instance.
Declaration
constructor Create(AOwner: TComponent); overrideArguments
AOwner | Owner of the class instance. |
Description
Create is the overridden constructor for the class instance, and
calls the inherited method on entry. Create allocates resources needed for
properties like:
- Buttons
- RadioButtons
- QueryChoices
- CustomMainIcon
- CustomFooterIcon
- ProgressBar
Create sets the default values for the following properties:
- CommonButtons
- Set to the value [tcbOk, tcbCancel].
- DefaultButton
- Set to tcbOK.
- Flags
- Set to [tfAllowDialogCancellation].
- FooterIcon
- Set to tdiNone.
- MainIcon
- Set to tdiInformation.
- Handle
- Set to the unassigned handle value (0).
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
