PML Customisation
User Guide
Alert Objects
: Input Alerts
Input Alerts
This allows you to obtain textual input from the operator via a blocking alert which overrides all other interactive activities. The alert can be summoned by the alert methods:
!!Alert.Input( !prompt is STRING, !default is STRING) is STRING
!!Alert.Input( !prompt is STRING, !default is STRING, Xpos is REAL, Ypos is Real) is STRING
!prompt
is displayed to prompt the operator and
!default
is offered as the default value in the alert’s text input field.
Xpos
,
Ypos
define the alert’s top left hand corner in normalised screen co-ordinates.
Note:
This function has been added to provide the GUI equivalent of the command
Var !x read
which is only valid in
tty
mode
.
To achieve flexible, user-friendly interfaces, the input alert should be used sparingly because of its blocking nature.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.