ftp.nice.ch/pub/next/developer/resources/palettesfor2.xx/CubicSlider.1.4.s.tar.gz#/CubicSlider/CubicSliderDemo/usedPalettes/SwitchBox

Example/
 
Palette/
 
README
 
SwitchBox.rtf
[View SwitchBox.rtf] 

README

SwitchBox.palette is a simple palette that allows you to make those switchable
views like in Preferences.app. You know the ones, where you, via some sort of
menu, switch the interface on a panel (i.e. when the Preferences Panel changes
as you select from the scrolling buttons).

To use it you drag out a SwitchBox and place it on you panel. Then on separate
panels of the size of the SwitchBox you lay out the alternate interfaces. Then
connect the panel outlets of the SwitchBox (panel0..panel9) to the Panels you
created. The region in the SwitchBox can be changes via two methods:

	-switchToTageOf: sender;
or
	-switchTo:(int)aNumber;

The first method looks at the senders tag, or if the sender is a kind of
Matrix, the selected Cells tag and switches to that panel number. The second 
method switches to the panel number given.

Make SwitchBox by tayping "make lib" in the Palette directory. From the
resultant mess you need: SwitchBox.palette, libSwitchBox.a and SwitchBox.h

After making the palette looke in the Eaxmple directory, it shows a simple
example... you need not go further than Interface Builders test mode to try it.

\n

Thats about it....


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