[Gambas-user] form_resize issue
Fabien Bodard
gambas.fr at ...626...
Sat Apr 17 15:28:41 CEST 2010
The resize event is used really not often on gambas ... it's not VB !
you need to use the container system to automagiquely resize the
elements in your form ... all is managed with the mouse... Nothing to
do by code :)
look at VBox, HBox, Panel,
and all other containers like form, etc
and properties : arrangement , spacing, padding, expand, ignore
2010/4/17 Robert JUHASZ <robert1juhasz at ...626...>:
> Hello List,
>
> When the user resizes the main form of my application I try to follow the
> form size with the controls on the form. I use the Form_resize event and I
> modify the controls' position accordingly.
>
> My hierarchy is something like that:
>
> Form
> TabStrip1
> TabStrip11
> TableView111
> TabStrib12
> TableView121
> TableView122
>
>
> It seems working correctly for any control I'm looking at... but not always
> for the others.
> For instance if I'm on the TabStrip11 and I resize the form then the
> TableView111 behaves normally but if I go to check the TableView122 then I
> can see the previous size.
> I call the refresh method for each item after modifying it's position or
> size.
>
> Do I miss something or is it a bug?
> I use Ubuntu 9.10 (64 bit), Gambas 2.20.
>
>
> Robi
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> 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