ShowDialog Method
Description
Displays the task dialog and returns the selected button when done.
Syntax
Public Function ShowDialog() As Long
Return Type
The return value is one of the button IDs specified in the AddButton method or one of the following values:
| Value | Description |
|---|---|
| 0 | Function call failed. |
| xtpTaskButtonCancel | Cancel button was selected, Alt-F4 was pressed, Escape was pressed, or the user clicked on the close window button. |
| xtpTaskButtonNo | No button was selected. |
| xtpTaskButtonOK | OK button was selected. |
| xtpTaskButtonRetry | Retry button was selected. |
| xtpTaskButtonYes | Yes button was selected. |
Remarks
The ShowDialog method will display the task dialog and return the selected button when done.

See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.