View Single Post
  #3 (permalink)  
Old 02-26-2010, 09:29 AM
schimanski's Avatar
schimanski schimanski is offline
Basic4ppc Veteran
 
Join Date: Oct 2007
Location: Germany
Posts: 289
Default

Hello Erel,

i have tried it, but without success. Then i tried

Code:
bList.New2("Form1"0,Form1.Height-180240140)
(The button on the bottom is 40 pixel heigh, the blist 140 pixel (=180)).

This one runs on Desktop and WVGA, but on VGA the blist is to high.


I have printed the pixels fom the different solutions:

Desktop (Screensize 240x340)
Form1.height=288
blist.height=140
btnBottom.height=40
ScreenScaleY=1

VPA Compact GPS (QVGA 240x320)
Form1.height=268
blist.height=140
btnBottom.height=40
ScreenScaleY=1

HTC Touch Diamond 1 (VGA 480x640)
Form1.height=268
blist.height=140
btnBottom.height=80
ScreenScaleY=2

HTC Touch Diamond 2 (WVGA 480x800)
Form1.height=348
blist.height=140
btnBottom.height=100
ScreenScaleY=2 (?????????????)

Thanks for help...
__________________
schimanski
--------------------------------------
Device: Motorola Defy, Samsung Galaxy Tab P1000
Dekstop: Asus Eee PC

Last edited by schimanski : 02-26-2010 at 12:21 PM.
Reply With Quote