ALERT Object
- Last UpdatedJul 24, 2024
- 1 minute read
Methods
|
Name |
Result |
Purpose |
|---|---|---|
|
Confirm( Message is STRING, X is REAL, Y is REAL ) |
STRING ‘YES’ OR ‘NO’ |
Show a blocking CONFIRM ALERT and retrieve the response. X and Y are optional screen positions. |
|
Error(Message is STRING, X is REAL, Y is REAL ) |
STRING ‘YES’ |
Show a blocking ERROR ALERT and retrieve the response. X and Y are optional screen positions. |
|
Message(Message is STRING, X is REAL, Y is REAL) |
STRING ‘YES’ |
Show a blocking MESSAGE ALERT and retrieve the response and retrieve the response. X and Y are optional screen positions. |
|
Question(Message is STRING, X is REAL, Y is REAL ) |
STRING ‘YES’, ‘NO’ OR ‘CANCEL’ |
Show a blocking QUESTION ALERT and retrieve the response. X and Y are optional screen positions. |
|
Warning(Message is STRING, X is REAL, Y is REAL) |
STRING ‘YES’ |
Show a blocking WARNING ALERT and retrieve the response and retrieve the response. X and Y are optional screen positions. |
|
!!Alert.Input( ! prompt is STRING, !default is STRING) is STRING |
STRING |
Show a blocking INPUT ALERT. !prompt is the prompt displayed to the user, and !default is the default value in the text box. |
|
!!Alert.Input( !prompt is STRING, !default is STRING, xPos is REAL, yPos is REAL) is STRING |
STRING |
Show a blocking INPUT ALERT. !prompt is the prompt displayed to the user, and !default is the default value in the text box. xPos and yPos are the coordinates of the top left-hand corner of the alert box. |
Table 2: 5. Alert Object Methods