iOS input field

Ralph DiMola rdimola at evergreeninfo.net
Fri Apr 19 00:58:40 EDT 2013


Chipp,

My mobile resizer library is also hanging tough. Can't wait to see what
Monte has done though.

Heads up....On iOS I found that strange things can happen in 5.5.3 when you
are in the inputReturnKey handler. Mobilepick stops working(It's there but
not visible) and you can have more than one answer box displayed at the same
time. Have not verified this in 6.0 yet. Things don't seem to settle down
until this message makes it to the engine.
 
Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net


-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of Chipp Walters
Sent: Thursday, April 18, 2013 11:11 PM
To: How to use LiveCode
Subject: Re: iOS input field

Yes and thanks. The challenge is making all this work for all platforms and
screensizes with one codebase WHILE taking advantage of Retina. So far, my
mobile resizer library is performing well for this.

Chipp Walters



On Thu, Apr 18, 2013 at 9:50 PM, Ralph DiMola
<rdimola at evergreeninfo.net>wrote:

> On Android it is on top. On iOS it is on the bottom(another x-platform 
> got-yah Tom, add to your list). I set the appropriate field control 
> colors when I'm not in development mode to hide the LC field 
> control(thanks to Jacque for the dev function) except for the border 
> in my case. Don't need to do it for Android but I wanted one code base 
> so I do it for both Android and iOS. I also put the native input 
> control's data into the LC field object and use the field control for 
> examining/processing the inputted data. This makes testing in 
> development easy. Like you I make the native control name the same as 
> the LC field control. This makes handlers in either a library or a 
> behavior generic.
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdimola at evergreeninfo.net
>
>
> -----Original Message-----
> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On 
> Behalf Of Chipp Walters
> Sent: Thursday, April 18, 2013 10:27 PM
> To: How to use LiveCode
> Subject: iOS input field
>
> Hey guys. I'm using the iOS input field and the following code...
>
>
> *if* gIsMobile *then*
>
>       *--> SET UP NATIVE CONTROLS*
>
>       *--> USERNAME FLD*
>
>       *answer* the rect of fld "fldUsername"
>
>       mobileControlCreate "input","mUsername"
>
>       mobileControlSet "mUsername","rect",the rect of fld "fldUsername"
>
>       mobileControlSet "mUsername","visible","true"
>
>       mobileControlSet "mUsername","fontSize","22"
>
> end if
>
>
> But the native input field is NOT on top of the fld "fldUsername" 
> (which is
> disabled) but is many pixels below. Anyone know why this is?
>
> This happens on my device, but displays properly in the simulator. 
> Both devices are Retina devices. Thanks for any help.
>
> I'm using LC 5.5.4
>
> Would it be better to use 6.0?
>
> Chipp Walters
> SVP, General Manager, IdeaWorks
>
> 512.577.9258 cell
> chipp at agilixIdeaWorks.com
> skype: chippwalters
>
> http://youtu.be/PZuK5_u2eyI
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list