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 if it gets True, property ModalResult has id of pressed button: |
* id of standard button (OK, Cancel, Yes etc) | * id of standard button (OK, Cancel, Yes etc) |
Revision as of 16:53, 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