[SOLVED} Re: In Interface Builder, NSMenuItem connects to ???what???
[SOLVED} Re: In Interface Builder, NSMenuItem connects to ???what???
- Subject: [SOLVED} Re: In Interface Builder, NSMenuItem connects to ???what???
- From: Baiss Magnusson <email@hidden>
- Date: Wed, 30 Jul 2003 17:57:08 -0700
On Wednesday, July 30, 2003, at 04:52 PM, Baiss Magnusson wrote:
In Interface Builder I create a NSPopUpItem, using the directions in
Chapter 21 of Apple's DTJC manual, I bind the <title> to the display
group, i.e. the DB table, and the <selectedIndex> to a <key> of the
EODisplayGroup.
This leaves the <MainWindow> showing an error in that NSMenuItem has a
bad/missing connection. NSMenuItem being a sub-entity of NSPopUpItem.
1) Double-click the NSPopUpItem, this brings up the NSMenuItem in IB.
2) Contol-click on the widget and drag to the display group, there
<target> will appear in the left column.
3) Select <fetch> as the target action in the right column.
4) Click the <Connect> button
Voila, the client application will get the DB data from the server and
populate the popup.
-----
Baiss Eric Magnusson
Woodinville, WA
_______________________________________________
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.