<< Click to Display Table of Contents >>
Parent |
Returns the parent object of this object. Therefore, if an object is inserted on a Screen, this property returns the value "Screen". Likewise, if an Internal Tag is inserted directly under a Data Server, this InternalTag's property then points to that Data Server. This is a read-only property. The next script contains an example of using this property.
Sub Rectangle1_Click()
' When clicking Rectangle1,
' changes the foreground color of Rectangle2
Parent.Item("Rectangle2").ForegroundColor = RGB(255, 0, 0)
End Sub