ClearScreen

Parent Previous Next

ClearScreen

Closes the Graphic Document that is open in the Screen object.


Function Definition:


void ClearScreen();



To configure this function, follow the steps below:


1.   In an object event, configure the ClearScreen function: ScreenObjectName.ClearScreen();


2.   During the execution of RunTime, run the configured event.



Example:


In the graphic document, the user has one Screen object (named as Screen1). In a Button object (named as Button1) the user configures the MouseUp event with the following event:


Screen1.ClearScreen();


In this event, the Object Button will close the Graphic Document that is opened inside the Screen.


  

 

Note: This property exists only to the following objects:

.      Screen Object