Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!usc!bloom-beacon!mit-eddie!uw-beaver!blake!Tomobiki-Cho!mrc From: mrc@Tomobiki-Cho.CAC.Washington.EDU (Mark Crispin) Newsgroups: comp.sys.next Subject: Re: 0.9 Interface Builder vs. Application Kit Message-ID: <2547@blake.acs.washington.edu> Date: 26 Jun 89 14:42:33 GMT References: <130003@gore.com> <10255@polya.Stanford.EDU> Sender: news@blake.acs.washington.edu Distribution: na Organization: Mendou Zaibatsu, Tomobiki-Cho, Butsumetsu-Shi Lines: 24 In article <10255@polya.Stanford.EDU> aozer@NeXT.com (Ali Ozer) writes: >In article <130003@gore.com> jacob@gore.com (Jacob Gore) writes: >>Can PopUpLists be used in the IB? > >Not directly; the best way to use PopUpLists through IB is to create >a button and use NXAttachPopUpList() at runtime (a good way to do this >might be to make the button an outlet of something and attach the >PopUpList in the setOutletName: method). Ali, NXAttachPopUpList() has a serious deficiency that makes it difficult for a programer trying to work around the lack of IB support for PopUpLists. It requires a Button, and will not accept a ButtonCell. This is alright if you have a standalone button, but if you have a Matrix of buttons, the outlet will give you a ButtonCell. Of course, I've never reconciled myself to the existance of Cells; as far as I can tell they exist only because Matrix was poorly designed. Mark Crispin / 6158 Lariat Loop NE / Bainbridge Island, WA 98110-2020 mrc@CAC.Washington.EDU / MRC@WSMR-SIMTEL20.Army.Mil / (206) 842-2385 Atheist & Proud / 450cc Rebel pilot -- a step up from 250cc's!!! tabesaserarenakerebanaranakattarashii...kisha no kisha ga kisha de kisha-shita sumomo mo momo, momo mo momo, momo ni mo iroiro aru uraniwa ni wa niwa, niwa ni wa niwa niwatori ga iru