[BUG] FillInTheBlank

Stewart MacLean stewart.maclean at nzhis.govt.nz
Fri Feb 4 00:01:29 UTC 2000


Did I see this one recently? Not sure so:

FillInTheBlank
		multiLineRequest:
'Enter several lines; end input by accepting
or canceling or typing the enter key'
		centerAt: Display boundingBox center
		initialAnswer: 'bozo!'
		answerHeight: 100

Within MVC and it crashes when I took the accept menu option. It is using a
Symbol as an index, which is returned from startUpYellowButtonMenu. ??

MouseMenuController<<unshiftedYellowButtonActivity
	"Put up the regular yellow-button menu and take action as
appropriate"

	| index  |
	yellowButtonMenu ~~ nil
		ifTrue: 
			[index _ self startUpYellowButtonMenu.
			index ~= 0 
				ifTrue: [self menuMessageReceiver
performMenuMessage:
	
(yellowButtonMessages at: index)]]
		ifFalse:
			[super controlActivity]

Cheers,

Stewart





More information about the Squeak-dev mailing list