Accessing Screen Objects from a Screen Script

<< Click to Display Table of Contents >>

 

Accessing Screen Objects from a Screen Script

In this case, users must only use the Item method, as the objects are children of the Screen, according to the next example.

Sub Screen1_OnPreShow(vArg)
  Item("Rectangle1").Visible = True
End Sub

 

Rectangle1 is an item of InitialScreen

Rectangle1 is an item of InitialScreen

Was this page useful?