[Gambas-user] Transformable GUI

M. Cs. mohareve at ...626...
Mon Mar 12 21:41:09 CET 2012


Thank you Tobias, but I would like this as a drag and drop thing.
Let say I have a VBox with two frames in it: Fr_Top and Fr_Bottom. How
could I just grab the Fr_Top, drag below Fr_Bottom and drop so they
changed their places? Is there any limitations to take one of them out
of container VBox and drop it to a VBox2 container?

Thanks!

2012/3/11, tobias <tobiasboe1 at ...20...>:
> hi,
>
> On 11.03.2012 20:55, M. Cs. wrote:
>> Is it possible to change the layout during runtime? I mean if I have a
>> panel and I would like to move it to another place.
>>
>> Thanks!
>>
>> Csaba
>
> of course is it possible. how could you get along without doing so until
> now? ;)
> the controls on your form are objects like almost everything else in
> your running gambas program. say your Panel1 needs to be moved to 10,10
> on the form you may want to
>
> Panel1.Move(10, 10)
>
> or
>
> Panel1.X = 10
> Panel1.Y = 10
>
> those are inherited from the Control class on which Panel relies.
> see the doc for the Control class and everything else under gb.qt4/gb.gtk.
>
> regards,
> tobi
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list