[squeak-dev] Small fix in executable code in SimpleButtonMorph's class comment

Enrico Spinielli enrico.spinielli at googlemail.com
Sun Jul 18 12:26:50 UTC 2010


Hi,
while looking for an example on how to create a simple morphic button,
I found that
the (executable) example in SimpleButtonMorph is not working:
it uses Smalltalk as target for beep message while it should use Beeper

Old:

	SimpleButtonMorph new
		target: Smalltalk;
		label: 'Beep!';
		actionSelector: #beep;
		openInWorld

New:

	SimpleButtonMorph new
		target: Beeper;
		label: 'Beep!';
		actionSelector: #beep;
		openInWorld

Remember to remove all emphasis (cmd-0) select all new version and
make it executable (cmd-6).

Should somebody with Trunk commit power think this is of any use
(especially for newcomers), please commit it.
Hope it helps and thanks in advance
Bye
-- 
Enrico Spinielli
"Do Androids dream of electric sheep?"— Philip K. Dick
"Hear and forget; see and remember;do and understand."—Mitchel Resnick



More information about the Squeak-dev mailing list