From Xojo Documentation

Revision as of 22:57, 11 March 2010 by Npalardy (talk | contribs) (1 revision)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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.