Thank you Jacqueline,
How embarrassing. I just read the fine print at the bottom of the
keyDown entry in the Rev dictionary. No excuse for my oversight. I
think I also found the answer to the Delete key issue there too.
Regards,
Gregory
On Sat, Apr 26, 2008, at 1:00 PM, Jacqueline wrote:
The problem is that the newly-typed letter isn't in the field when you
retrieve the field contents in the first line; it doesn't get placed
in
the field until the last line where you pass keydown. That means you
will always be testing agains the previous contents of the field,
rather
than the new contents.
One way to fix it is to change the beginning of the handler like this:
on keydown pKey
put me & pKey into searchString
That way you will always have the latest entry.
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution