[Pharo-project] non-modal FillInTheBlankMorph code?
Hi All, has anyone already written the handful of methods to provide a non-modal FillInTheBlankMorph (a way of opening that doesn't enter the doOneCycle loop in FillInTheBlankMorph>>getUserResponse) they can let me have or point me to? If so, let me know. Thanks. best Eliot
I can do one using EntryFieldMorph in 5 minutes. EntryFieldMorph>>authoringPrototype " self authoringPrototype " | e | e := EntryFieldMorph new. e position: 80@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
participants (2)
-
Eliot Miranda -
Fernando olivero