Re: [Gambas-user] form_resize issue
Hi Benoit, I put together the small project with 2 level of TabStrip controls and with tableview controls on some of them. First it seemed to work perfectly... but finally I could reproduce the effect on my computer. When the app starts up then (normally) the controls resize correctly. Just after keep your eyes on one of the tableviews and resize the form (I just change from maximized to normal window and back). The tableview I look at behaves normally. But when I check the others they have the size corresponds to the normal window size. Will be interesting to see if the same happens for you or if you find a silly mistake in the code. For the moment I didn't put any refreshing - I did it in the project I work on but didn't help. Regards, Robi Hi, I saw the problem now, and noticed that I don't get it with Qt 4 in Gambas 3. I will see if I can find a workaround for Gambas 2... -- Benoît Minisini -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] form_resize issue
Hi Benoit, I put together the small project with 2 level of TabStrip controls and with tableview controls on some of them. First it seemed to work perfectly... but finally I could reproduce the effect on my computer. When the app starts up then (normally) the controls resize correctly. Just after keep your eyes on one of the tableviews and resize the form (I just change from maximized to normal window and back). The tableview I look at behaves normally. But when I check the others they have the size corresponds to the normal window size. Will be interesting to see if the same happens for you or if you find a silly mistake in the code. For the moment I didn't put any refreshing - I did it in the project I work on but didn't help. Regards, Robi Hi, I saw the problem now, and noticed that I don't get it with Qt 4 in Gambas 3. I will see if I can find a workaround for Gambas 2... As an immediate workaround, do not use the TabStrip ClientW and ClientH properties during the Form_Resize event. Use the Arrangement property to layout your controls. Regards, -- Benoît Minisini -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] form_resize issue
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 Your explanation are not clear. Can you provide a little project that shows the problem? -- Benoît Minisini -- Download Intel#174; 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] form_resize issue
For the moment I just have a big one. I try to build a small example which shows the problem. Robi 2010/4/18 Benoît Minisini gam...@users.sourceforge.net 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 Your explanation are not clear. Can you provide a little project that shows the problem? -- Benoît Minisini -- Download Intel#174; 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Download Intel#174; 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] form_resize issue
Hi Benoit, I put together the small project with 2 level of TabStrip controls and with tableview controls on some of them. First it seemed to work perfectly... but finally I could reproduce the effect on my computer. When the app starts up then (normally) the controls resize correctly. Just after keep your eyes on one of the tableviews and resize the form (I just change from maximized to normal window and back). The tableview I look at behaves normally. But when I check the others they have the size corresponds to the normal window size. Will be interesting to see if the same happens for you or if you find a silly mistake in the code. For the moment I didn't put any refreshing - I did it in the project I work on but didn't help. Regards, Robi 2010/4/18 Benoît Minisini gam...@users.sourceforge.net 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 Your explanation are not clear. Can you provide a little project that shows the problem? -- Benoît Minisini -- Download Intel#174; 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user resize-0.0.1.tar.gz Description: GNU Zip compressed data -- Download Intel#174; 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] form_resize issue
OK, I play a little tonight! But there is a risk that I ask questions tomorrow :D Thx a lot, Robi 2010/4/18 Fabien Bodard gambas...@gmail.com just do that to try : make a form and add 3 panel in it then in each panel add 3 other panels give an unique color for each panels and then try each properties and run the form ... it's the better way to understand 2010/4/18 Robert JUHASZ robert1juh...@gmail.com: For the moment I just have a big one. I try to build a small example which shows the problem. Robi 2010/4/18 Benoît Minisini gam...@users.sourceforge.net 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 Your explanation are not clear. Can you provide a little project that shows the problem? -- Benoît Minisini -- Download Intel#174; 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Download Intel#174; 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Download Intel#174; 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Download Intel#174; 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] form_resize issue
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#174; 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] form_resize issue
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 robert1juh...@gmail.com: 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#174; 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Download Intel#174; 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] form_resize issue
Salut Fabien, Thanks for the idea. From one side it's a pity if the resize event doesn't work as I imagined, form the other side it's a good opportunity to learn how containers work in Gambas. Is there any good tutorial which shows how the different controls work? Their description is quite brief and in the built-in examples I didn't find any. Thanks, Robi 2010/4/17 Fabien Bodard gambas...@gmail.com 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 robert1juh...@gmail.com: 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#174; 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Download Intel#174; 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Download Intel#174; 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Form_Resize
Am Sonntag, den 13.09.2009, 02:01 +0200 schrieb Benoît Minisini: Salut, is that my, or a general problem, on gambas2 2.16 I can make forms bigger, but not smaller...or did I miss something ? That I remarked on my White-A4-PalmTop for Debug-Watch-Windows but now I find that on a form in the project (see example). This always behaved like that: modal forms cannot be shrinked smaller than their initial size. It is feature, not a bug. Regards, Salut, so let's talk about saved Debug-Watch-Windows, you make it bigger, to see more and after that you leave the session. When you restart new the Debug-Watch-Windows starts big, and can't be shrunk smaller anymore. -- Charlie -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Form_Resize
Charlie Reinl escribió: so let's talk about saved Debug-Watch-Windows, you make it bigger, to see more and after that you leave the session. When you restart new the Debug-Watch-Windows starts big, and can't be shrunk smaller anymore. Are you saving the size and position in Settings? If so, prevent the Form.H, and Form.W to be saved and you will be able to restart your form in the original size. Jesus -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Form_Resize
Am Sonntag, den 13.09.2009, 02:01 +0200 schrieb Benoît Minisini: Salut, is that my, or a general problem, on gambas2 2.16 I can make forms bigger, but not smaller...or did I miss something ? That I remarked on my White-A4-PalmTop for Debug-Watch-Windows but now I find that on a form in the project (see example). This always behaved like that: modal forms cannot be shrinked smaller than their initial size. It is feature, not a bug. Regards, Salut, so let's talk about saved Debug-Watch-Windows, you make it bigger, to see more and after that you leave the session. When you restart new the Debug-Watch-Windows starts big, and can't be shrunk smaller anymore. *That* is a bug. It is caused by initializing the form geometry in the _new method instead of the Form_Open event handler. I will fix it in the next revision. Regards, -- Benoît Minisini -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Form_Resize
Salut, is that my, or a general problem, on gambas2 2.16 I can make forms bigger, but not smaller...or did I miss something ? That I remarked on my White-A4-PalmTop for Debug-Watch-Windows but now I find that on a form in the project (see example). -- Amicalment Charlie firstTry-0.0.1.tar.gz Description: application/compressed-tar -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Form_Resize
Salut, is that my, or a general problem, on gambas2 2.16 I can make forms bigger, but not smaller...or did I miss something ? That I remarked on my White-A4-PalmTop for Debug-Watch-Windows but now I find that on a form in the project (see example). This always behaved like that: modal forms cannot be shrinked smaller than their initial size. It is feature, not a bug. Regards, -- Benoît Minisini -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user