Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!shelby!msi.umn.edu!noc.MR.NET!gacvx2.gac.edu!gacvx2.gac.edu!scott From: scott@mephistopheles.gac.edu (Scott Hess) Newsgroups: comp.sys.next Subject: Re: Accessing/updating PopUpLists Message-ID: Date: 23 Jan 91 20:37:00 GMT References: <7885@umd5.umd.edu> <460@nwnexus.WA.COM> Distribution: na Organization: Gustavus Adolphus College Lines: 23 Nntp-Posting-Host: mephistopheles.gac.edu In-reply-to: adonis1@nwnexus.WA.COM's message of 23 Jan 91 05:39:02 GMTLines: 23 In article <460@nwnexus.WA.COM> adonis1@nwnexus.WA.COM (Adonis Corporation ) writes: In 1.0 you were not supposed to set the target of the button to the PopUpList in Interface Builder for some reason, and I presume that still holds, but now IB does it for you, so who cares. I wonder though what would happen if you did set the target of the button to something else? The PopUpList part of a popup list is actually a subclass of Menu. When you click the button, a message is sent to the target which essentially tells it to popup. If you changed the target, or messed with too much of the button, it wouldn't work anymore (actually, it'd work like a normal button). The real target to be concerned with is the target of either the Matrix within the popup, or the target of a cell within that matrix, because that determines who gets called with what when you use a popup. -- scott hess scott@gac.edu Independent NeXT Developer GAC Undergrad "Tried anarchy, once. Found it had too many constraints . . ." "Buy `Sweat 'n wit '2 Live Crew'`, a new weight loss program by Richard Simmons . . ."