UserGuide

Mobile Dialog Boxes

From Xojo Documentation

(Redirected from UserGuide:iOS Dialog Boxes)

Message Box

A Message Box displays a prompt for the user. Although it is a user interface control, it does not appear on the Layout so when you drag it to your Layout, it is added to the Shelf. To learn more about Message Box go to the UserGuide:Mobile Message Box topic.

Modal Screens

A modal screen is a screen that is also displayed without being "pushed" onto the current screen. A modal screen cannot have toolbars and should not have other screens pushed onto it. You can show and close a modal screen using the MobileScreen.ShowModal method.

In this example, the Login screen is being displayed modally from the current screen:

Login.ShowModal(Self)

Sample Project

  • Examples/iOS/Navigation/ShowModal

See Also

MobileMessageBox class; UserGuide:iOS User Interface Controls, UserGuide:Mobile Screens, UserGuide:Mobile Message Box topic