ContainerControl.Parent

From Xojo Documentation

Read-Only Property (As RectControl )
RectControlValue = aContainerControl.Parent

Supported for all project types and targets.

Gets the containing control, if any.