Alert dialog boxes

Use alert dialog boxes to notify users of a critical action such as turning off the BlackBerry device or an error such as typing information that is not valid. An exclamation point (!) indicator appears in an alert dialog box. To close an alert dialog box, users can click OK or press the Escape key.

This screen shows an example alert dialog box.

Best practice: Implementing alert dialog boxes

  • Include only an OK button. This button should be highlighted by default. When users click the button, the dialog box should close. To provide users with multiple buttons, such as an OK button and a Cancel button, use an inquiry dialog box instead.
  • Allow users to press the Escape key to close the dialog box.
  • Use a concise, descriptive message to explain the situation that prompted the alert.
  • Avoid phrasing messages as questions. Use statements instead.

Was this information helpful? Send us your comments.