screen size

mariocast

New Member
Licensed User
hi!
I have a question.. I try to change screen size manually or setting screen size default and compiling about autosize, but my form doesn't change screen size on runtime...

I don't understand why... Can you help me?

thank you!
 

mjcoon

Well-Known Member
Licensed User
Possibly because it is only in the special cases of a simple form that displays, for instance, only a cropped image, is it unnecessary for a form to be redesigned for each alternative screen size and orientation.

For forms that have carefully positioned contents such as buttons and text fields, these will have to be repositioned for different screen sizes. The classic case is of an "OK" button which disappears off the bottom of a smaller screen rendering the form useless!

Mike.
 

klaus

Expert
Licensed User
Longtime User
You can change the screen size in the IDE on the desktop.
But this change is valid only on the desktop !
On the device the Forms have always the full screen size, whatever size you set in the IDE !
The AutoScale option for compiling is only useful for devices with VGA screens. You set the screen size, in the IDE, to QVGA and design your forms in this size, after autoscale compiling the program will run on both, QVGA and VGA devices. On VGA devices the program detects the screen size and adapts the control positons and dimensions by doubling their value.
Advantage: one source file for bouth screen resolutions.
Disadvantage: you dont take advantage of the bigger screen resolution dues to the 'pixel doubling'. The display looks like a QVGA display !
Autoscale compiling does not adap the form layout to different screen sizes other than above.

Best regards.
 
Top