public showDialog(owner as Window = null) as Boolean throws DialogException:
Displays the chooser and waits for a destination or cancellation.
| Parameter | Description |
|---|---|
owner | Optional owner window used for centering and modality. |
true after a valid destination was selected; false only when cancelled.
dialog = SaveFileDialog()
if dialog.showDialog(window):
dialog.selectedFile.write("Saved by Klyn")