Interface Builder annoyances (was: NSTextField annoyances)
Interface Builder annoyances (was: NSTextField annoyances)
- Subject: Interface Builder annoyances (was: NSTextField annoyances)
- From: Matt Neuburg <email@hidden>
- Date: Thu, 1 Aug 2002 18:47:19 -0700
On Mon, 29 Jul 2002 10:19:13 -0700, Greg Titus <email@hidden> said:
>
>
On Monday, July 29, 2002, at 09:24 AM, Adrian Rutledge wrote:
>
>
> Just noticed this annoyance when I got my app to a point where the
>
> server starts spitting no text to send errors at me. Is there any way
>
> to set an NSTextField to only call its action when I press enter,
>
> rather than any time I leave it?
>
>
In Interface Builder, select the text field, hit cmd-1 to show the
>
attribute inspector, and change the "Send Action" radio buttons from "On
>
end editing" to "Only on enter".
The reason this is not obvious is that it's so badly worded in Interface
Builder. It should say something more like "On Enter key only". The phrase
"Only on enter" sounds like the action message will be sent when the user
first clicks in the field (i.e. enters it)! Or, even better, why can't
Interface Builder also give the name of the method the checkbox is
equivalent to (i.e. here, setSendsActionOnEndEditing)?
My point is that it is often unnecessarily difficult to guess, from the
terse wording, what a checkbox will do in IB, and it can be remarkably hard
to figure out, reading the class documentation, what method a checkbox
corresponds to. m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.