MessageDialog.ShowModalWithin Function

Displays the MessageDialog window as a sheet window (Mac OS X only) for the passed Window. On other platforms, it displays the MessageDialog as a modal dialog (same as ShowModal).

Syntax
result = MessageDialog.ShowModalWithin( Parent )

Parameters
Parent | Window

Return Value
Result | MessageDialogButton

# Notes

Returns a MessageDialogButton, which indicates which button was pressed. To find out which button was pressed, compare it to the button instances in the dialog.