On 2/29/08 1:20 PM, Terry Ford at tmford at shaw dot ca wrote:
> Does anyone know of a simple way to disable the F4 key's new built in
> paste in an Editfield without resorting to disabling Command-V at the
> same time.
Create a subclass that handles "EditPaste", then use this code:
if Keyboard.AsyncKeyDown( &h76 ) then
return true // Stops F4
else
return false // Proceed with paste
end if
See the Language Reference regarding Keyboard.
__________________________________________________________________________
Kem Tekinay (212) 201-1465
MacTechnologies Consulting Fax (914) 242-7294
http://www.mactechnologies.com Pager (917) 491-5546
To join the MacTechnologies Consulting mailing list, send an e-mail to:
mactechnologies_consulting-subscribe at yahoogroups dot com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|