[Pharo-project] [squeak-dev] non-modal FillInTheBlankMorph code?

Fernando olivero fernando.olivero at usi.ch
Thu Oct 21 03:32:03 EDT 2010


I can do one using EntryFieldMorph in 5 minutes.


EntryFieldMorph>>authoringPrototype
	"
	self authoringPrototype 
	"
	| e |
	e := EntryFieldMorph new.
	e position: 80 at 200.
	e width: 400.
	e initialContents: 'Fill in the blank'.
	e onAcceptSend: #delete to: e.
	e onEscapeSend: #delete to: e. 
	e openInWorld.
	^ e


If you want i can code a similar one to FillInTheBlank , using announcements and a button.


On Oct 20, 2010, at 7:33 PM, Eliot Miranda wrote:

> FillInTheBlankMorph





More information about the Pharo-dev mailing list