Re: iOS input field
On 19/04/2013, at 02:58 PM, Ralph DiMola wrote: Chipp, My mobile resizer library is also hanging tough. Can't wait to see what Monte has done though. I can confirm that Monte's geometry manager thingy is cool! Terry... Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry Health Sciences The University of Melbourne ___ 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
Re: iOS input field
Figured it out. I was using iPhoneDeviceResolution true and it worked in previous builds. But now that there's a second parameter which deals with pixel density, I need to make sure and pass it: iPhoneDeviceResolution true,true Chipp Walters SVP, General Manager, IdeaWorks 512.577.9258 cell ch...@agilixideaworks.com skype: chippwalters http://youtu.be/PZuK5_u2eyI On Thu, Apr 18, 2013 at 9:26 PM, Chipp Walters ch...@agilixideaworks.comwrote: 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
RE: iOS input field
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
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 rdim...@evergreeninfo.netwrote: 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 ___ 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
RE: iOS input field
Chipp, My mobile resizer library is also hanging tough. Can't wait to see what Monte has done though. Heads upOn 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 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 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 rdim...@evergreeninfo.netwrote: 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 ___ 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