
DialogBox window. When receiving ID_CANCEL or ID_ACCEPT, the DialogBox breaks out of the modal loop and returns False or True, respectively. To close the DialogBox when not running modally, simply send it ID_HIDE.


Construct free-floating dialog.
| Argument | Type | Default | Description |
| a | FXApp | ||
| name | String | ||
| opts | Int | DECOR_TITLE| DECOR_BORDER | |
| x | Int | 0 | |
| y | Int | 0 | |
| w | Int | 0 | |
| h | Int | 0 | |
| pl | Int | 10 | |
| pr | Int | 10 | |
| pt | Int | 10 | |
| pb | Int | 10 | |
| hs | Int | 4 | |
| vs | Int | 4 |

Construct dialog which will always float over the owner window.
| Argument | Type | Default | Description |
| owner | FXWindow | ||
| name | String | ||
| opts | Int | DECOR_TITLE| DECOR_BORDER | |
| x | Int | 0 | |
| y | Int | 0 | |
| w | Int | 0 | |
| h | Int | 0 | |
| pl | Int | 10 | |
| pr | Int | 10 | |
| pt | Int | 10 | |
| pb | Int | 10 | |
| hs | Int | 4 | |
| vs | Int | 4 |