realbasic-nug
[Top] [All Lists]

Re: Disabling the F4 Key

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Disabling the F4 Key
From: Arnaud Nicolet <anic297 at mac dot com>
Date: Fri, 29 Feb 2008 20:45:24 +0100
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <FF850DC3-3185-4602-920F-286D0F8C4F99 at shaw dot ca>
Le 29 févr. 08 à 19:20 (soir), Terry Ford a écrit:

> 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.

For your information, F4 is used for paste since at least Mac OS 8  
(and I recall in 7.x also). They are standard and I don't know if  
it's good to prevent it.

> I currently am emptying the Clipboard in the GotFocus event but that
> effectively disables both.

A solid workaround... With this way, one can just click in your  
editfield as a mistake and lose the clipboard content.

> I don't think it's possible but I can trap the keys above F4 in my  
> code.

Also for you information, F1 is usually Undo, F2 is Cut and F3 is copy.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>