Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!rosie!Channel_Z From: jinscore@Channel_Z (Jim Inscore) Newsgroups: comp.sys.next Subject: Re: 2.0 Programming Question -- PopUpLists Message-ID: <1022@rosie.NeXT.COM> Date: 21 Jun 91 18:44:15 GMT References: Sender: news@NeXT.COM Lines: 23 Nntp-Posting-Host: channel_z.next.com In article john@csrnxt1.ae.utexas.edu (John R. Schutz) writes: > There are three of the popups, and I would rather not have to have > outlets to all three, and just use the sender. The sender turns out > to be a matrix, but I just can't seem to get things to work right. > > Any code for adding an item in a popup list for which you only have > the matrix? The message: [sender window] returns the id of the PopUpList (it works because Matrix inherits from View and PopUpList inherits from Window). You could, for example, use [[sender window] addItem:string] to add a new item at the end of the list. jinscore@next.com NeXT Publications |