Selecting text in non-focused field
Bob Sneidar
bobsneidar at iotecdigital.com
Mon Nov 19 17:26:09 EST 2018
I have a FindBar "object" (group of objects) that I use for querying a sql database. I ues rawKeyUp and a delay to do what you are trying to do. I think I have a demo stack up too with a datagrid and sqlite database. Look for it under Robert Sneidar.
Bob S
> On Nov 19, 2018, at 14:02 , Kaveh Bazargan via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> Thanks Brian. I want to have a flexible search capability and that is
> indeed one of the things that would be good to have. I have a feeling it is
> going to be a bit slow so will need some tricks or compromise. For
> instance, only search if no key pressed for .5 seconds, so it not
> interrupting typing..
>
> On Mon, 19 Nov 2018 at 21:57, Brian Milby via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
>> Are you meaning that you need to highlight text found in another field?
>> Easiest way to describe what I’m referring to is the LC dictionary. If you
>> type a term in the search box, the matches are highlighted yellow where
>> they are found (syntax and synonym fields). Implementation would be
>> completely different since the dictionary is coded in JavaScript.
>>
>> But, if that is what you are needing, then setting the style of the found
>> chunks should give what you need (subject to the potential issue of
>> performance).
>>
>> Thanks,
>> Brian
>> On Nov 19, 2018, 4:31 PM -0500, Kaveh Bazargan via use-livecode <
>> use-livecode at lists.runrev.com>, wrote:
>>> Didn't know about foundChunk. Useful, thanks. :-)
>>>
>>> It is just one text field I am working on.
>>>
>>> On Mon, 19 Nov 2018 at 21:12, dunbarxx via use-livecode <
>>> use-livecode at lists.runrev.com> wrote:
>>>
>>>> Have you tried selecting the foundChunk?
>>>>
>>>> If you are going to write a routine that checks all the fields on a
>> card
>>>> and
>>>> catalog them, you can avoid the standard "find" command, and roll your
>> own.
>>>>
>>>> Craig
>>>>
>>>>
>>>>
>>>> --
>>>> Sent from:
>>>>
>> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>
>>>
>>> --
>>> Kaveh Bazargan
>>> Director
>>> River Valley Technologies <http://rivervalleytechnologies.com/> •
>> Twitter
>>> <https://twitter.com/kaveh1000> • LinkedIn
>>> <https://www.linkedin.com/in/bazargankaveh/>
>>> _______________________________________________
>>> 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
>> _______________________________________________
>> 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
>
>
>
> --
> Kaveh Bazargan
> Director
> River Valley Technologies <http://rivervalleytechnologies.com/> • Twitter
> <https://twitter.com/kaveh1000> • LinkedIn
> <https://www.linkedin.com/in/bazargankaveh/>
> _______________________________________________
> 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