From Xojo Documentation

Design Property (as Integer)

This DesktopControl property can only be set in the Inspector and is not available in code.

Used to determine whether access to the control is Public (0) or Private (2). The default is Public.


If the Scope of a control is set to Private, it cannot be accessed from outside its parent window.