Re: Persistant Insertion Point

2020-09-11 Thread Roger Guay via use-livecode
Thank you, Alex. That’s just what I need! Roger > On Sep 11, 2020, at 4:58 PM, Alex Tweedly via use-livecode > wrote: > > You can save the insertion point (i.e. the selectedchunk) when you leave the > second field, and then provide a handler to insert text at that saved point; > and of cours

Re: Persistant Insertion Point

2020-09-11 Thread Alex Tweedly via use-livecode
You can save the insertion point (i.e. the selectedchunk) when you leave the second field, and then provide a handler to insert text at that saved point; and of course call that handler when needed e.g.   in your "second field, have local sChunk on exitfield    put the selectedchunk into sChu

Persistant Insertion Point

2020-09-11 Thread Roger Guay via use-livecode
I have 2 fields, the first from which I take the mouseText, the second into which I place that text. Trouble is, I want the placed text to be at the insertion point I had before clicking outside that field. Can someone suggest a way to preserve the insertion point in a field as one clicks into