In this scenario we need three different kind of alerts. How to Create an Alert Like other objects you create at design-time, alerts are created from the Object Navigator. Select the Alerts node in the Navigator, and then select Create. Define the properties of the alert in the Property Palette. Here are the properties that are specific to an alert. This is an abridged list. Note: Alerts are an alternative method for communicating with the operator. Because they display in a modal window, alerts provide an effective way of drawing attention and forcing the operator to answer the message before processing can continue.Note 2: Potentially, you can create an alert for every separate alert message that you need to display, but this is usually unnecessary.You can define a message for an alert at run time, before it is displayed to the operator. This means that a single alert can be used for displaying many messages, providing that the available buttons are suitable for responding to each of these messages. Create an alert for each combination of:Alert style required Set of available buttons (and labels) for operator response For example, an application might require one Note-style alert with a single button (OK) for acknowledgment, one Caution alert with a similar button, and two Stop alerts that each provide a different combination of buttons for a reply. You can then assign a message to the appropriate alert before its display, through the SET_ ALERT_PROPERTY built-in procedure. Reference: Oracle Forms Student Guide, How to Create an Alert
In this scenario we need three different kind of alerts.
How to Create an Alert
Like other objects you create at design-time, alerts are created from the Object Navigator.
Select the Alerts node in the Navigator, and then select Create.
Define the properties of the alert in the Property Palette.
Here are the properties that are specific to an alert. This is an abridged list.
Note: Alerts are an alternative method for communicating with the operator. Because they display in a modal window, alerts provide an effective way of drawing attention and forcing the operator to answer the message before processing can continue.
Note 2: Potentially, you can create an alert for every separate alert message that you need to display, but this is usually unnecessary.
You can define a message for an alert at run time, before it is displayed to the operator.
This means that a single alert can be used for displaying many messages, providing that the available buttons are suitable for responding to each of these messages.
Create an alert for each combination of:
For example, an application might require one Note-style alert with a single button (OK) for acknowledgment, one Caution alert with a similar button, and two Stop alerts that each provide a different combination of buttons for a reply. You can then assign a message to the appropriate alert before its display, through the SET_ ALERT_PROPERTY built-in procedure.
Reference: Oracle Forms Student Guide, How to Create an Alert