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

abbat abbat.81 at ...787...
Sun Aug 5 15:56:28 CEST 2012


Thanks a lot,
that's what I was looking for

Tobias Boege wrote:
> 
> 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
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> 

-- 
View this message in context: http://old.nabble.com/Adding-a-new-control-to-existing-container%28Panel%29-tp34257551p34257660.html
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list