From Xojo Documentation

Revision as of 16:01, 4 March 2010 by SteffX (talk) (SMBot: new page by automated transformation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

MessageDialog.ShowModalWithin(Parent as Window) As MessageDialogButton

New in 2005r1

Supported for all project types and targets.

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). 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.