That will do the trick for me. Sometimes I want to disallow pasting or check the contents of the clipboard before pasting (rather than testing the content of the field on exitfield).

Thanks again Mark!
Hi Marty,

Your menuPick handler should call a handler named pasteIt and the pasteKey handler should do the same. Your pasteIt handler should do exactly the same what currently your pasteKey handler does.

Apparently, sometimes you want to be able to paste and sometimes you don't. For this, you need to adjust your pasteIt handler, for example something like:

on pasteIt
  if the short name of the selectedField is "Forbidden Field" then
    beep
    answer error "Paste not allowed"
  else
    paste
  end if
end pasteIt

If this isn't what you're trying to do, please explain more.

--
Best regards,

Mark Schonewille

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to