DesktopWindow.AddControl
From Xojo Documentation
Method
DesktopWindow.AddControl(control as DesktopUIControl)
New in 2021r3
Supported for all project types and targets.
New in 2021r3
Supported for all project types and targets.
Adds the control passed to the layout.