The Screen/Content Status trigger runs the operation by the status of the selected screen or content.
onScreenStatusChange($Enums.ScreenStatus.Active,()=>{
1
});
1: Status
[Active]
|
BlockText'$Enums.ScreenStatus.Active' |
The Screen/Content Status trigger occurs once when this screen or content is displayed on the display unit. |
[Inactive]
|
Block[Inactive] Text'$Enums.ScreenStatus.Inactive' |
The Screen/Content Status trigger occurs when moving from this screen or content to another on the display unit. |
[AfterFirstDrawing] | BlockText'$Enums.ScreenStatus.AfterFirstDrawing' |
The Screen/Content Status trigger occurs once after drawing every object on this screen or content. |
When [Active] and [AfterFirstDrawing] triggers are used on the same screen or content, script for the [Active] trigger is executed, and then the script for the [AfterFirstDrawing] trigger.