Multiple choice

Which of the following helps in programmatically determining the button a user pressed to respond to an alert?

  1. Use the GET_ALERT_PROPERTY function.

  2. Use the GET_ALERT_BUTTON_PROPERTY function.

  3. Check the value returned by the SHOW_ALERT function to see if it is 1, 2, or 3.

  4. Check the value returned by the SHOW_ALERT function to see if it is ALERT_BUTTON1, ALERT_BUTTON2, or ALERT_BUTTON3.

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Check the value returned by the SHOW_ALERT function to see if it is ALERT_BUTTON1, ALERT_BUTTON2, or ALERT_BUTTON3.