Is there a textChanged property?

J. Landman Gay jacque at hyperactivesw.com
Thu May 9 14:12:55 EDT 2013


On 5/9/13 12:44 PM, Dr. Hawkins wrote:

> I don't want to react to the text changing, but rather an event
> (closing the group) triggered by a keystroke, which needs the handling
> that would normally occur on closefield (which resums several fields
> and does something with them, with computation costs I wouldn't want
> for exitField while tabbing through them).
>
> I suppose it isn't much overhead to "set the iChanged of the target"
> on textChanged for every key hit, but it seems like a clumsy solution
> . . .

Depending on your scripts, it may work to add this to your keystroke macro:

  if the selectedfield is not empty then select empty

That should give you either a closefield or an exitfield.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list