TTMSFNCTaskDialogButton Class
Custom-rendered button used inside the task dialog, supporting an optional icon, caption, modal result, and click event.
API unit family: TMSFNCTaskDialog
Inherits from: TTMSFNCCustomControl
Syntax
TTMSFNCTaskDialogButton = class(TTMSFNCCustomControl)
Properties
| Name | Description |
|---|---|
| Caption | Text label displayed on the button face. |
| Icon | Optional image displayed alongside the button caption. |
| ModalResult | Modal result value returned to the calling dialog when this button is clicked. |
| TextFont | Font used to render the button caption text. |
Events
| Name | Description |
|---|---|
| OnButtonClicked | Fires when the button is clicked by the user. |