A script-enabled browser is required for this page to function properly.

Creating an Alert

To create an alert:
  1. In the Object Navigator, click the Alerts node.
  2. Click Create in the toolbar.
  3. Double-click the alert object icon to display the Property Palette.
  4. Set the Alert Style property to the style that corresponds to the severity of your message: either Stop, Caution, or Note.
  5. At runtime, an icon representing the style you select displays next to the message in the alert window.
  6. Set the Message property by entering the message you want the alert to display at runtime. You can enter up to 200 characters.

    Note: Not all runtime platforms can display the maximum number of characters.

  7. Define one or more buttons for the alert by entering a text label in the Button 1 Label, Button 2 Label, and Button 3 Label fields. (The default text labels are "OK" for Button 1 and "Cancel" for Button 2.)

    Note: At least one button must have a label. Buttons that do not have labels are not displayed. Buttons are displayed in the alert in the order that they appear in the Property Palette. That is, Button 2 is displayed to the right of Button 1, and so on.

  8. Choose the Default Alert Button, either Button 1, Button 2, or Button 3.

    The default button is the button that is selected implicitly when the operator presses [Accept]. On most window managers, the default button has a distinctive appearance.

About creating alerts

Displaying an alert

Changing the alert message