Re: multiline NSTextFields
Re: multiline NSTextFields
- Subject: Re: multiline NSTextFields
- From: rsharp <email@hidden>
- Date: Mon, 24 Sep 2001 08:07:59 -0500 (CDT)
On Mon, 24 Sep 2001, Andreas Monitzer wrote:
>
Apple's Network Setup features three special NSTextFields (DNS, search
>
domains, proxy bypass addresses) which allow multiple lines by pressing
>
return instead of the regular (non-intuitive) opt-return. How is it done?
>
I've looked into the nib, but no magic is revealed here. No subclass, no
>
formatter, only the delegate is set. In IB test mode it doesn't work
>
properly.
Could they be simply trapping the Return/Enter key on the window and
basically just entering a CR in the current field that has focus?
Rick Sharp
Instant Interactive(tm)