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 rdim...@evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-boun...@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 ch...@agilixideaworks.com skype: chippwalters http://youtu.be/PZuK5_u2eyI _______________________________________________ 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 _______________________________________________ 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