Hi Sarah and Mark,

What platform are you on? It works on mac OS 10.4, here.

Cheers,

Mark


    Tiger, 10.4.2

I don't think you can do it just by passing a keyUp message with no
parameter. I would do it by writing a separate handler to do the
actual filtering. Then call this filter handler from the keyUp,
deleteKey, backSpaceKey handlers.

Or to catch every keystroke, use rawKeyUp instead.

HTH,
Sarah


Not sure I understand, Sarah. My filter handler is invoked by keyUp as

on keyUp
   -- Do filter stuff here.
end keyUp

which is the search field's script. The keyUp handler above works fine for any entry except a deletion or backspace. Below that in the field's script is the deleteKey or backspaceKey handler, so I figured that

on deleteKey
   send keyUp to me
   pass deleteKey
end deleteKey

should do the trick. I'll have a look at the documentation for rawKeyUp is see if I can make something of it.

    Thanks for the help,

        Greg
_______________________________________________
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

Reply via email to