links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Last updated at 4:52 pm UTC on 16 January 2006
(CustomMenu fromArray:
	#(	('apples'	#('McIntosh' 'Granny Smith') )
		('oranges'	#('RubyRed') )
		('peaches'	#('Georgia' 'Golden') )
	        ('pears'	        #('a' 'b' 'c') )
		startUp: #apples

Presents a menu of the first items in the parenthesized list; answers the second object in the corresponding list. For example, the above code puts up a menu with 'apples', 'oranges', 'peaches', 'pears'.

If peaches is selected then the array #('Georgia' 'Golden') is answered.

Also see Morph menus Popup Menus Menus perform:orSendTo: