GefScreen.Refresh (method)

Refreshes the screen object.
Syntax: object.Refresh WaitForUpdate
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.


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