Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!uunet!spool2.mu.edu!sdd.hp.com!wuarchive!udel!haven!umd5!sinai.umd.edu!jkight From: jkight@sinai.umd.edu (Jeff Kight) Newsgroups: comp.sys.next Subject: Accessing/updating PopUpLists Message-ID: <7885@umd5.umd.edu> Date: 22 Jan 91 18:39:44 GMT Sender: news@umd5.umd.edu Distribution: na Organization: Comp. Sci. Ctr., Univ. of MD, College Park, MD 20742 Lines: 31 Originator: jkight@sinai.umd.edu I think I may be too involved in this problem to see the solution... I am programming under 2.0 with the Interface Builder. I add a PopUpList which is a combination button/popuplist. The technical docs say: Accessing the PopUpList's Button is useful if you want to change the title displayed for the list. To access the Button from your code, give it a tag in the Interface Builder's Inspector. Send a setTitle: message to the Button to change the title string it displays. If the title you send isn't represented in the PopUpList, it's added at the top of the list the next time the user manipulates the Button. When I repeatedly add titles to the button, it only "adds" the last one, as it should by the above definition. If I setTitle then click the button (pop up the list) and then perform another setTitle, the different titles are added. So, I tried performClick's after setTitle's...no go. I try to send PopUpList methods to the button: method not defined. I try to form a connection to the PopUpList: can't find a way. If anyone would have an idea/solution, I would much appreciate it. ------------------------------------------------------------------------------ Jeff Kight jkight@umd5.umd.edu Information Services jkight@umdd.bitnet Computer Science Center uunet!umd5.umd.edu!jkight University of Maryland (301) 405-3014