I'm not sure I follow. The Form1.width and Form1.height are set by the designer, no? If the designer set Form1.width = 240 and Form1.height = 320 is this not what your screenratio is based on? In other words, wouldn't your screenratio return 1.333 in this instance, regardless of the device resolution?
I want to detect the native resolution of the device, not the form dimensions set by the designer. In Basic4PPC version 6.8 you can calculate whether the device is qvga or vga, but I don't see a way to calculate if the device is wqva -- or am I missing something here?