Re: [Gambas-user] Transformable GUI
To be more accurate, I would like to implement something like you have in Guayadeque music player for instance. You have different containers and you can move them inside the IDE. 2012/3/12, M. Cs. : > 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 : >> 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@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Transformable GUI
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 : > 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@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Transformable GUI
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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Transformable GUI
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 -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user