Screen/Content Status

The Screen/Content Status trigger runs the operation by the status of the selected screen or content.

Block

Text

onScreenStatusChange($Enums.ScreenStatus.Active,()=>{
                                 1
});

1: Status

[Active]

 

Block
[Active]
Text

'$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]  
Block
[AfterFirstDrawing]
Text

'$Enums.ScreenStatus.AfterFirstDrawing'

The Screen/Content Status trigger occurs once after drawing every object on this screen or content.

Note: 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.