Selecting text in non-focused field

dunbarxx dunbarx at
Mon Nov 19 13:24:22 EST 2018


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 mouseUp
   find the text of fld 1 in fld 2
end mouseUp

The "search" field retains focus.

The same if there is an "enterInField" handler in the search field. The
search field retains focus.

But what is the point of keeping focus? What can you do if that happens,
that you cannot do if focus is lost? And how are you working this, that the
search field loses focus in the first place

Craig Newman

Craig Newman

Sent from:

More information about the use-livecode mailing list