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