richard terry ha scritto: > On Wed, 7 Jan 2009 04:44:11 pm kobolds wrote: > >> Nope I not talking about center the form on screen . in visualstudio >> there's function call center in form (horizontal /vertical) . I talking >> about that one . this is quite common ide function for align items >> >> I couldn't find it on gambas .is this function replace by something else? >> > > Again, if you told us what you want to achieve it may help. Send me a > picture > of what you want it to look like from a screen dump from your visual whatver. > > > Forms are often quite complex things visually, made up of many dozens of > component. I'd use QT rather than GTK if you are designing things. The > Gambase IDE visually designer is simply brilliant. > I think he wants to center a gadget on the form, like you do in a word processor (center text). This is possible in gambas, but it is not straightforward. I think want he is searching for (an easy way to keep something in the center of something else), is not possible.
The gambas IDE designer is good, but not "simply brilliant". There are several way to design geometry managers, what gambas has choosed is simply one among them. Tk has three geometry managers, and at least one of them (pack) is coherent and powerful. Other systems has the concept of Anchors, a nice feature that is often handy. The system gambas uses is good but not perfect and, for me and perhaps others (like our friend), it can be difficult to understand. In addition to use containers, one could also use code in event handlers (resize and arrange events), and do "manually" whatever he wants. -- Doriano Blengino "Listen twice before you speak. This is why we have two ears, but only one mouth." ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
