non-modal FillInTheBlankMorph code?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

non-modal FillInTheBlankMorph code?

Eliot Miranda-2
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

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] non-modal FillInTheBlankMorph code?

Fernando olivero-2
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


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project