[comp.sys.next] 0.9 Interface Builder vs. Applicati

rmf00365@uxa.cso.uiuc.edu (06/26/89)

> 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