Re: [Gambas-user] X coordinate of a Form Frame. My Second Problem.

2009-04-14 Thread agrgal
This solution...: Try with gb.qt to see the difference. worked! Thank you. If it's relevant, I developed my project using gambas in a ASUS EEEPC Ubuntu based on Ubuntu Hardy. I installed the project in a normal Ubuntu Hardy and run all the same with the same problem. The fact is that I posted a

Re: [Gambas-user] X coordinate of a Form Frame. My Second Problem.

2009-04-13 Thread BenoƮt Minisini
> I wrote some code to center a Form window, even the Desktop Size is > different. Here it is: > > FMain.X = Int((Desktop.Width - FMain.Width) / 2) > > FMain.Y = Int((Desktop.Height - FMain.Height) / 2) > > > Meanwhile the Form is resized regarding to the Y coordinate, it doesn't > work as well f

Re: [Gambas-user] X coordinate of a Form Frame. My Second Problem.

2009-04-12 Thread jbskaggs
Have you tried "me.center"? agrgal wrote: > > I wrote some code to center a Form window, even the Desktop Size is > different. Here it is: > > FMain.X = Int((Desktop.Width - FMain.Width) / 2) > FMain.Y = Int((Desktop.Height - FMain.Height) / 2) > > Meanwhile the Form is resized regarding to

[Gambas-user] X coordinate of a Form Frame. My Second Problem.

2009-04-12 Thread agrgal
I wrote some code to center a Form window, even the Desktop Size is different. Here it is: FMain.X = Int((Desktop.Width - FMain.Width) / 2) FMain.Y = Int((Desktop.Height - FMain.Height) / 2) Meanwhile the Form is resized regarding to the Y coordinate, it doesn't work as well for the X coordi