DroidDB Tip of the Month
DroidDB® Tip for October 2012
Changing the Screen Size
In the DroidDB development environment, the dotted line represents the physical screen of the device. DroidDB interrogates the attached handheld and asks it what size the screen in, and sets up the dotted line appropriately.
There is an override built into DroidDB to allow you to adjust these dimensions. You might want to do this if your form is to be used on a different machine.
In the DroidDB folder on your handheld, there is a file called DroidDB_Info.ini. Copy this file to the windows folder of your development machine and open it using a text editor such as notepad. You will see:
[Screen]
width=320
height=430
density=160
(your numbers may be different). Simply adjust these numbers to reflect the dimensions of the desired screen and save the file.
Note: "density" is the number of pixels per inch.