Control.Scope
From Xojo Documentation
Design Property (as Integer)
Used to determine whether access to the control is Public (0) or Private (2). The default is Public.
Notes
If the Scope of a control is set to Private, it cannot be accessed from outside its parent window.