From Xojo Documentation
|You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!|
Property (As Object )
Used to get and set the control’s parent control or window.
If the parent control is somehow in another window, an InvalidParentException will occur.
The following example sets the parent of the control to the window.