Re: More points for the technical discussion

Wolfgang Jeltsch <[email protected]>
Newsgroups gmane.comp.lang.haskell.gui
Message-ID <[email protected]>
On Monday, 2003-02-17, 22:47, CET, Nick Name wrote:
> On Mon, 17 Feb 2003 22:09:53 +0100 Wolfgang Jeltsch <[email protected]>
> wrote:
> >  Why shouldn't we just define a function which has the captions of the
> >  Yes and the No button directly as arguments? An example application
> >  of it could be
> >      dialogYesNoCancel "Save" "Don't save" <other arguments>
> >  which would name the buttons "Save", "Don't save" and "Cancel" on the
> >  Mac and "Yes", "No" and "Cancel" on a PC running Windows or KDE
> >  (:-)).
>
> Yes, then we just don't have a YesNoCancel dialog ;) It would be a generic
> dialog. I don't see problems however.

It would be a Yes-No-Cancel dialog because
    * the caption "Cancel" would always be present on the Mac
    * the buttons would always be named "Yes", "No" and "Cancel" on the PC

> [...]

> Vincenzo

Wolfgang
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.