Paste no closeField

Bob Sneidar bobsneidar at iotecdigital.com
Fri Mar 11 17:16:08 EST 2022


Yeah, I suppose. But I use the IDE a LOT. Remember my code is in a front script, which is good, because it works for all my apps, and ONLY when entering and leaving a field. 

Bob S


> On Mar 11, 2022, at 08:48 , Klaus major-k via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Hi Bob,
> 
>> Am 11.03.2022 um 17:30 schrieb Craig Newman via use-livecode <use-livecode at lists.runrev.com>:
>> 
>> OK.
>> 
>> Does this help? It catches pasting, but not typing.
>> 
>> on textChanged
>> if the commandKey is down then beep
>> end textChanged
> 
> you could also catch "on pastekey", but that will only work in a standalone,
> the IDE will catch and not pass it.
> 
>>> On Mar 11, 2022, at 10:52 AM, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
>>> 
>>> Because I don’t want to trigger it every time someone types a character, but that would be one way to do it. I clean up anything I drag or type into fields, stripping all but printable ascii because OCR PDF files contain a lot of crap that wreaks havoc with databases. 
>>> 
>>> Sent from my iPhone
>>> 
>>>> On Mar 11, 2022, at 05:56, Craig Newman via use-livecode <use-livecode at lists.runrev.com> wrote:
>>>> 
>>>> Hi.
>>>> 
>>>> Why not use the “textChanged” message? That one would always fire if pasting text.
>>>> Craig
>>>> 
>>>>>> On Mar 10, 2022, at 5:57 PM, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
>>>>>> works with fields whose nam
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> klaus at major-k.de
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list