[Gambas-user] Form size on target computer

Ron Onstenk ronstk at ...239...
Thu Jun 29 09:27:48 CEST 2006


On Thursday 29 June 2006 09:15, Gaël Le Hec'H wrote:
> # Gambas Form File 1.0
> 
> { frmRecette Form
>   MoveScaled(0,0,72.7273,54.5455)
>   'Move(0,0,800,600)
>   Text = ("")
>   Border = Window.Fixed
>   { lstRe7 ListBox
>     MoveScaled(1,1,71,47)
>     'Move(11,11,781,517)
>   }
> 
You should change from
>   MoveScaled(0,0,72.7273,54.5455)
>   'Move(0,0,800,600)
to
>   'MoveScaled(0,0,72.7273,54.5455)
>   Move(0,0,800,600)

See the single quote change
>     MoveScaled(1,1,71,47)
>     'Move(11,11,781,517)
This means you need to read the whole file for same occurrences and change them.


Maybe a global replace can help
search for _'Move(_ replace by _Move(_
search for _MoveScale(_ replace by _'MoveScale(_

Also you can search the IDE source and try to change in Form save. 
I have seen in the source code there is a fall back from MoveScale( to Move(.
Changing here is more for advanced users :)

Make a note in the Fyourform.class about the manual changes
and a warning "DO NOT EDIT FORM" or so.

And of course this is not supported by Benoit or anyone else
so do not complain if it does harm :)


Ron




More information about the User mailing list