[Gambas-user] Form size on target computer
Ron Onstenk
ronstk at ...239...
Wed Jun 28 19:51:12 CEST 2006
On Wednesday 28 June 2006 18:39, Gaël Le Hec'H wrote:
> Hi,
> I program an application with gambas 1.9.32 on a computer with a screen
> resolution of 1920 x 1200, the target computer 's got a screen
> resolution of 800x600 so all my forms are 800x600 but when the
> application execute on the target computer the forms are 509 x 381.
> except making all my forms 1257x942, any idea ?
>
> Gaël Le Hec'H.
>
I think no other way.
Forms are created and saved with MoveScale()
The factors used result in your calculation.
The only way, and I hope Benoit will consider it to implement,
is a option in the project file to use MoveScale() or Move().
This Scale option should prevent all <xxxx>Scale() and use the
non scaling <xxxx>() methods.
His idea is not bad but it is not alway wanted.
I will get the same problem with my project later.
The only tip I can give is using Kate/Kedit and change it
in the xyz.form before making the executable.
Do not forget you MAY NOT edit the forms in the IDE or
must manual edit again.
I hope the still available Move(x,y) still works in the form.
Ron
More information about the User
mailing list