Multiline textbox and 240 pixel screen

jschuchert

Active Member
Licensed User
Longtime User
I designed my application so that none of the controls would be below the SIP line and no entry boxes would be obscured by the soft input panel. This works fine on a 320x240 device/emulator but while testing on a 240x240 emulator screen, I find that the multiline textboxes added at runtime are not expanded as expected. Those created with the designer are ok. Here is a sample of the code I used:

addform("someform","form1")
addtextbox("someform","txtsomething",10,10,100,80,"")
txtsomething.multiline=true

Before I redo those affected, I thought I should ask for another solution.

I don't have a smartphone but I read in the help section that they are supported with the exception of certain controls like 'buttons'. I wonder, then, what triggers execution of calculations, etc. What is needed to develop apps with b4ppc for these and other non-touch screens? I downloaded the sdk and emulator images for the smartphone but don't know where to go from here.

Jim Schuchert
 

jschuchert

Active Member
Licensed User
Longtime User
Thank you, Erel. I did not set any other properties for the text box like tb.height, etc. since the only one that is failing is multiline. I am glad I tested it on an emulator rather than relying solely on the IDE. Since my first post I re-did the forms with the designer...should have done it in the first place.

Which emulator should I use? Are there any stand-alones for the smartphone or other non-touch devices? I would like to see examples of coding for non-touch devices. I believe I should have a version of my application for those devices.

Thanks again.

Jim Schuchert
 

jschuchert

Active Member
Licensed User
Longtime User
Thank you again, Erel. I am probably making too much of it. I think I already downloaded the sdk and have the images. I'll post back when and if I need more info.

Jim
 
Top