How do you get an App to run in VGA mode on a device?

pdablue

Active Member
Licensed User
Longtime User
Hi,

I have written a program that I want to start up in VGA mode on a device.

I have compiled the Application using the Autoscale option, but when
I run it on a device with a screen resolution of 480 x 800 it keeps
coming up in QVGA mode.

When I run the App from the Basic4PPC-VGA IDE on the device it
runs in VGA mode.

How do you turn the VGA mode on from within an application using
programming statements?

Do I need to use the FormLib.DLL ?
 

agraham

Expert
Licensed User
Longtime User
Compile it for the device without AutoScale. You cannot switch modes by program. If you compile without AutoScale and want to run on both QVGA and VGA screen sizes your program needs to handle that itself by adapting the layout when the program is run. If you compile AutoScaled then your program always behaves like it is running on a QVGA device even when the device is actually VGA.
 

pdablue

Active Member
Licensed User
Longtime User
Problem Solved.

Hi,

Thanks for the information, that solved my problem.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…