Re: Cursor Placement in MobileControl

2024-03-06 Thread Mike Kerner via use-livecode
we don't have a universal field widget, and, the existing controls don't make it easy to do things like this. there are often ways to overcome, just like there are in c, but that doesn't mean i prefer c or swift or java or xojo sometimes workarounds are a means to identify opportunities to improve

Re: Cursor Placement in MobileControl

2024-03-06 Thread Bob Sneidar via use-livecode
Also, and without trying to put too fine a point on it, I’d like to reiterate that Livecode is much less like a furniture store, and more like an Ikea furniture factory, where there are lots of different parts, and bits to hold the furniture together, but theoretically you could make any kind of

Re: Cursor Placement in MobileControl

2024-03-06 Thread Bob Sneidar via use-livecode
It’s too specific. For instance I always format phone numbers nnn-nnn- xnnn (the x is for extension). Some people bracket the area code with paras, some need the country code, some want to prepend 1+ etc. I was planning to have a format string of some sort, then follow that pattern as the

Re: Cursor Placement in MobileControl

2024-03-06 Thread Mark Smith via use-livecode
Very useful to know. Thanks Dan Mark Sent from my iPhone > On Mar 6, 2024, at 7:13 PM, Mike Kerner via use-livecode > wrote: > > it would be nice to have a universal field widget, and be able to have this > sort of behavior be part of it... > >> On Wed, Mar 6, 2024 at 2:07 PM Bob Sneidar vi

Re: Cursor Placement in MobileControl

2024-03-06 Thread Mike Kerner via use-livecode
it would be nice to have a universal field widget, and be able to have this sort of behavior be part of it... On Wed, Mar 6, 2024 at 2:07 PM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > That is damn handy. That could be massaged to work with a Livecode field > too. I’m g

Re: Cursor Placement in MobileControl

2024-03-06 Thread Bob Sneidar via use-livecode
That is damn handy. That could be massaged to work with a Livecode field too. I’m going to work on that. Bob S > On Mar 6, 2024, at 10:13 AM, Ralph DiMola via use-livecode > wrote: > > Dan, > > Nice... thanks! > > Ralph DiMola > IT Director > Evergreen Information Services > rdim...@everg

RE: Cursor Placement in MobileControl

2024-03-06 Thread Ralph DiMola via use-livecode
Dan, Nice... thanks! 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 Dan Friedman via use-livecode Sent: Wednesday, March 06, 2024 11:15 AM To: How to use L

Re: Cursor Placement in MobileControl

2024-03-06 Thread Dan Friedman via use-livecode
Panos, Thank you for the suggestion! That worked out well! For anyone interested, here’s the snippet for formatting a phone number as you type in a mobile native field control: //this assumes that the mobileControl type for Android is “multiline” and the mobileSetKeyboardType has been set