ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/May-Jun/0.9-Interface-Builder-vs.-Applicati

This is 0.9-Interface-Builder-vs.-Applicati in view mode; [Up]


Date: Sun 26-Jun-1989 08:24:00 From: Unknown Subject: Re: 0.9 Interface Builder vs. Applicati > browser does not show PopUpList at all, while the manual shows it as a > subclass of Menu. Can PopUpLists be used in the IB? The dox on how to create a popupList from scratch in chapter 21 seem to be wrong. I say that mostly becuase I cannot get it to compile. The PopUpList is really just a glorified button. To create 1 popupList: 1> make your class with two outlets (for the popup). 2> attach one of the outlets to the button and leave the other unconected. 3> modify the .m file where the object is defined as follows all of the following go between the --- = anObject and return self; <<your second outlet>> = [PopUpList new]; [<<your second outlet(YSO)>> addItem:" " action:(SEL)0 keyEquivelant:0]; <<and so on>> NXAttachPopUpList(YFO,YSO);] Works like your worst nightmare Michael Rutman Softmed >From: William_Charles_Thibault@cup.portal.com

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.