Cursor Placement in MobileControl

Bob Sneidar bobsneidar at iotecdigital.com
Wed Mar 6 17:00:13 EST 2024


It’s too specific. For instance I always format phone numbers nnn-nnn-nnnn 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 user types. For instance: <nnn>-<nnn>-<nnnn> x<nnnnnn> the brackets indicating text to be replaced. I could exclude the brackets but I might want to have a format string that uses a literal n in the future, so I have to figure out how to do all that. 

Bob S


> On Mar 6, 2024, at 11:11 AM, Mike Kerner via use-livecode <use-livecode at lists.runrev.com> 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 via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> 
>> That is damn handy. That could be massaged to work with a Livecode field
>> too. I’m going to work on that.
>> 
>> Bob S
>> 
>> 



More information about the use-livecode mailing list