Difference between revisions of "TTaskDialog"
From Lazarus wiki
Jump to navigationJump to searchLine 4: | Line 4: | ||
[[image:ttaskdialog.png]] | [[image:ttaskdialog.png]] | ||
− | Dialog is shown with the Execute() method, and | + | Dialog is shown with the Execute() method, and TModalResult of pressed button is returned: |
+ | |||
+ | * id of standard button (OK, Cancel, Yes etc) | ||
+ | * id of custom button, which is specified in each button's ModalResult | ||
{{LCL Components}} | {{LCL Components}} | ||
[[Category:Dialogs]] | [[Category:Dialogs]] |
Revision as of 16:48, 15 February 2017
TTaskDialog is a non-visual component, which shows full-featured dialogs at runtime, dialogs with rich features like Windows TaskDialog API has. It is available under the Dialogs of the Component Palette.
Dialog is shown with the Execute() method, and TModalResult of pressed button is returned:
- id of standard button (OK, Cancel, Yes etc)
- id of custom button, which is specified in each button's ModalResult