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
> 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
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
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