[UI] Improving ToolBuilder
Damien Cassou
damien.cassou at gmail.com
Tue Sep 18 14:08:57 UTC 2007
Hi Gary,
2007/9/18, Gary Chambers <gazzaguru2 at btinternet.com>:
> > OBMorphicPlatform>>handleConfirmationRequest: request
> > ^ PopUpMenu
> > confirm: request prompt
> > trueChoice: request okChoice
> > falseChoice: request cancelChoice
> >
> > There is no such method in UIManager.
>
> ^(UIManager default confirm: request prompt)
> ifTrue: [request okChoice]
> ifFalse: [request cancelChoice]
This is not the same thing because #okChoice and #cancelChoice return
strings to be used in the buttons, not in the answers.
Thank you
--
Damien Cassou
More information about the UI
mailing list