PML Customisation
User Guide
Alert Objects
: Position of Alerts
Position of Alerts
By default, an Alert is automatically positioned when it is displayed so that it is under the cursor. Optionally, two more arguments may be supplied to specify the screen position at which an
alert
is to appear:
!!Alert.Error( 'You cannot do this!' , 0.25, 0.1)
This shows the
alert
with its origin one quarter of the way across from the left hand side of the screen and one tenth of the way down from the top.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.