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
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.
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 comple
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@lists.runrev.com> wrote:
> Have you tried selecting the foundChunk?
>
> If you are going to write a routine that checks all the fiel
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
__
Hi Craig
Thanks for your time. I should have given more details...
i am indeed using enterInField (actually returnInField), and the focus
remains the search box
I started with the Find command, but then changed to using matchChunk,
because:
- The Find command shows a thin black border that i
Ah. Maybe the point is that you can continue typing, finding other strings
as you go. OK.
But my search field, with its "enterInField" handler:
on enterinField
find me
end enterinField
will find any text in any field, and continue to find as you either continue
typing or delete what you alrea
Hi.
Not sure exactly what you mean.
You have a ("search") field that you type into, and the text in that field
is then found in another field?
How different is that process from this? On a card with two fields, in fld 1
type some text that already exists in fld 2. Then in a button script:
on mou