Hi
I use the trick, used for running applications on QVGA and VGA devices alike, on applications that I want to run on the desktop with the same code as on the device, but on larger screen.
How can I differentiate between controls that are placed on forms and controls which have parents ? (the ones on the form should move according to the VGA multiplier, those that have parens are to be resized but not moved because the parent control is moved).
I looked at the text of my program by notebook and saw this line, for example:
addtextbox(infopanel,uptown,0,0,75,22,"",255,255,255,0,0,0,True,True,False,9)@...
but I don't have any property of the text box to check the difference.
Any idea ?
I use the trick, used for running applications on QVGA and VGA devices alike, on applications that I want to run on the desktop with the same code as on the device, but on larger screen.
How can I differentiate between controls that are placed on forms and controls which have parents ? (the ones on the form should move according to the VGA multiplier, those that have parens are to be resized but not moved because the parent control is moved).
I looked at the text of my program by notebook and saw this line, for example:
addtextbox(infopanel,uptown,0,0,75,22,"",255,255,255,0,0,0,True,True,False,9)@...
but I don't have any property of the text box to check the difference.
Any idea ?