Improving ToolBuilder
Michael van der Gulik
mikevdg at gmail.com
Tue Sep 18 22:43:19 UTC 2007
On 9/19/07, Damien Cassou <damien.cassou at gmail.com> wrote:
>
> Hi Andreas,
>
>
> > >>> And this one:
> > >>>
> > >>> OBMorphicPlatform>>handleTextRequest: request
> > >>> ^ FillInTheBlankMorph
> > >>> request: request prompt
> > >>> initialAnswer: request template
> > >>> centerAt: Sensor cursorPoint
> > >>> inWorld: World
> > >>> onCancelReturn: nil
> > >>> acceptOnCR: true
> > >>>
> > >>> There is no way of returning nil on Cancel. The empty string is
> always returned.
> > >> ^(UIMananger default
> > >> request:request prompt
> > >> initialAnswer: request template) ifEmpty:[nil]
> > >
> > > There is a difference if the user really wants an empty string so this
> > > does not work either.
> >
> > Well, I guess then you have a problem. There is currently no alternative
> > available in UIManager; it's either that or nothing.
>
> That's why my post was titled 'Improving ToolBuilder'. Is there a way
> of changing ToolBuilder?
>
Yes. You can create an issue for this on http://bugs.squeak.org/ under the
ToolBuilder category. You can assign it to me (mikevdg) if you want.
Andreas: do you mind if I become a developer of ToolBuilder?
Gulik.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20070919/daf5b2a3/attachment.htm
More information about the Squeak-dev
mailing list
|