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: Tom Benson <tombenson at mac dot com>
Date: Sat, 1 Mar 2008 07:25:06 +1100
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> <70621AFB-5BAF-43E4-AE62-36EAFCEB8F09 at mac dot com> <65001643-DA69-4E75-940E-E07415F32BE8 at shaw dot ca>
I believe this a Carbon / Cocoa thing.

TextEdit - Cocoa, no F1 keys
Others - Carbon - F Keys are OK


If that helps at all..

- Tom


On 01/03/2008, at 7:18 AM, Terry Ford wrote:

>
> On Feb 29, 2008, at 11:45 AM, Arnaud Nicolet wrote:
>
>> 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.
>
> In Rb 5.5.5, F4 will paste into the IDE but *not* into the editfield
> in your built app. It does now in 2007r4 and 2008r1.
>
>> A solid workaround... With this way, one can just click in your
>> editfield as a mistake and lose the clipboard content.
>
> Right, which is why I wanted my (already subclassed) Numbers-only
> Ef's to ignore the F4 Key. (Also the F2 key) The MenuHandler route
> works perfectly and still allows Command-V and Command-X.
>
>> Also for you information, F1 is usually Undo, F2 is Cut and F3 is
>> copy.
>
> Right. It also works in AppleWorks, Tex-Edit Plus, BBEdit but not
> many other apps (including TextEdit.
>
> Terry
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>

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