Difference between revisions of "TTaskDialog"
From Lazarus wiki
Jump to navigationJump to searchLine 8: | Line 8: | ||
* id of standard button (OK, Cancel, Yes etc) | * id of standard button (OK, Cancel, Yes etc) | ||
* id of custom button, which is specified in each button's ModalResult | * id of custom button, which is specified in each button's ModalResult | ||
+ | |||
+ | Also, property RadioButton has the radio-button object, which was clicked. | ||
{{LCL Components}} | {{LCL Components}} | ||
[[Category:Dialogs]] | [[Category:Dialogs]] |
Revision as of 16:59, 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 if it gets True, property ModalResult has id of pressed button:
- id of standard button (OK, Cancel, Yes etc)
- id of custom button, which is specified in each button's ModalResult
Also, property RadioButton has the radio-button object, which was clicked.