Greetings!

Anyone know what am I doing wrong?  Here's the script I am running on a iPhone 
4 (works fine in the Simulator):

put the effective working screenRect into tRect
mobileControlCreate "multiline","myTextField"
mobileControlSet "myTextField", "fontSize", 15
mobileControlSet "myTextField", "visible", true
mobileControlDo "myTextField", "focus"
put the effective working screenRect into rRect

tRect is 0,0,320,480
rRect is also 0,0,320,480  (It should be the rect with the keyboard removed.)

I found that if I wait 20 ticks before I get the effective working screenRect 
again, it returns the correct value.

Anyone know the story on this?


Thanks in advance!

-Dan
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to