FROM : M. Carlson
DATE : Thu Mar 06 05:22:55 2008
Hmm, the only outlets listed in the Inspector Connections section for my textfield are:
- delegate
- formatter
- menu
- nextKeyView
Where is "myTextField" supposed to show up?
Thx!
--MC
Date: Wed, 5 Mar 2008 21:43:27 -0500
From: <email_removed>
To: <email_removed>
Subject: Re: Newb question on IB outlet assignments
CC: <email_removed>
Look at the Inspector for the controller - in the Connections section (blue circle with an arrow). Here you should see a list of Outlets, and so forth.
Rob
On Wed, Mar 5, 2008 at 8:52 PM, M. Carlson <<email_removed>> wrote:
I'm a little confused trying to assign a NSTextField to an IBOutlet using the new Interface Builder in Leopard.
I added a new outlet, defined in my Controller.h as:
IBOutlet NSTextField *myTextField;
I control-drag a blue line from the instantiation of my Controller object (blue cube) to the text field on my NIB, and it comes up with a small black Outlets menu showing me the possible outlet assignments I can make. "myTextField" shows up in this little menu.
But, how do I actually MAKE an assignment? If I select the "myTextField" entry in the menu and click it, the menu goes away, but is it assigned? If I control-drag again, it shows me the same list of possible outlets, but there's no indication which outlet is assigned to it, if any.
--MC
_________________________________________________________________
Climb to the top of the charts! Play the word scramble challenge with star power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan_______________________________________________
MacOSX-dev mailing list
<email_removed>
http://www.omnigroup.com/mailman/listinfo/macosx-dev
DATE : Thu Mar 06 05:22:55 2008
Hmm, the only outlets listed in the Inspector Connections section for my textfield are:
- delegate
- formatter
- menu
- nextKeyView
Where is "myTextField" supposed to show up?
Thx!
--MC
Date: Wed, 5 Mar 2008 21:43:27 -0500
From: <email_removed>
To: <email_removed>
Subject: Re: Newb question on IB outlet assignments
CC: <email_removed>
Look at the Inspector for the controller - in the Connections section (blue circle with an arrow). Here you should see a list of Outlets, and so forth.
Rob
On Wed, Mar 5, 2008 at 8:52 PM, M. Carlson <<email_removed>> wrote:
I'm a little confused trying to assign a NSTextField to an IBOutlet using the new Interface Builder in Leopard.
I added a new outlet, defined in my Controller.h as:
IBOutlet NSTextField *myTextField;
I control-drag a blue line from the instantiation of my Controller object (blue cube) to the text field on my NIB, and it comes up with a small black Outlets menu showing me the possible outlet assignments I can make. "myTextField" shows up in this little menu.
But, how do I actually MAKE an assignment? If I select the "myTextField" entry in the menu and click it, the menu goes away, but is it assigned? If I control-drag again, it shows me the same list of possible outlets, but there's no indication which outlet is assigned to it, if any.
--MC
_________________________________________________________________
Climb to the top of the charts! Play the word scramble challenge with star power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan_______________________________________________
MacOSX-dev mailing list
<email_removed>
http://www.omnigroup.com/mailman/listinfo/macosx-dev
| Related mails | Author | Date |
|---|---|---|
| M. Carlson | Mar 6, 02:52 | |
| Rob McWhinnie | Mar 6, 03:43 | |
| M. Carlson | Mar 6, 05:22 | |
| Steven Hatfield | Mar 6, 17:03 | |
| M. Carlson | Mar 6, 23:05 | |
| Christiaan Hofman | Mar 6, 23:13 | |
| M. Carlson | Mar 6, 23:22 | |
| Christiaan Hofman | Mar 6, 23:41 | |
| M. Carlson | Mar 7, 00:12 |






Cocoa mail archive

