GefScreen.Refresh (method)

Refreshes the screen object.
Syntax: object.Refresh WaitForUpdate
Parameters:
Optional WaitForUpdate As Boolean -
Description: The Refresh method forces a refresh action. This will also force any points values on the screen to update if the values changed.

Example:

Sub GefScreen_Refresh()
    
    Dim oCimScr As GefScreen
    Dim oCimRectObj As GefObject
    
    Set oCimScr = CimGetScreen
    Set oCimRectObj = oCimScr.Object.Objects.AddRectangle(1 * 20, 50 * 20, 50 * 20, 1029)
    oCimScr.Refresh False
    
End Sub