Attach controls to parent

Hi,

I am sure I have read somewhere that you can select a control and do something that allows you to select what its parent is but I cannot find it now or remember where it was. Can anyone remember where this option / function is.

Thanks

@Nathan Wright → https://documentation.xojo.com/api/deprecated/rectcontrol.html#rectcontrol-parent

(If i understood you correctly).

HTH

Sorry I will try and explain better.

I thought I had read that somewhere in the IDE you could select a control and then select an option which allowed you to specify which control was its parent control. I know you can Unparent by right clicking on a control but through I had read you could do the opposite somehow.

It might be I am getting confused with some other IDE for another language.

You can drag the control over the parent. When the parent is highlighted with a red rectangle the control/parent relation is set.

Thanks, I thought that it was also possible to do it another way but I must be thinking of a different IDE for another compiler.