Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED} Re: In Interface Builder, NSMenuItem connects to ???what???



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.
References: 
 >In Interface Builder, NSMenuItem connects to ???what??? (From: Baiss Magnusson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.