[Gambas-user] Adding a new control to existing container(Panel)

Tobias Boege tobiasboege01 at ...1601...
Sun Aug 5 15:47:09 CEST 2012


On Sun, 05 Aug 2012, abbat wrote:
> 
> Thanks
> Oh, this is way to create a controls by code, but there any way to do it in
> Designer?
> 
> 

I always did it like this:
- Select the control you want to move into the Panel
- Ctrl+X
- Select Panel to move the control into
- Ctrl+V

BTW, you can also add existing controls to a new container at runtime via
Control.Reparent(). I just had this strong desire to improve my first
answer ;-)

Regards,
Tobi




More information about the User mailing list