RectControl.Window
From Xojo Documentation
Property (As Window )
aRectControl.Window = newWindowValue
or
WindowValue = aRectControl.Window
Supported for all project types and targets.
or
WindowValue = aRectControl.Window
Supported for all project types and targets.
The RectControl's parent window.