CLIM mail archive
[Prev][Next][Index][Thread]
Using MCL choose-file-dialog in CLIM is a problem Date: Fri, 13 Dec 1991 10:23-0500 From: John Doleac <jd05@gte.com>
I have written ACCEPTING-VALUES dialogs to prompt
users for a pathname, but if the user is using MCL,
I would prefer to use their CHOOSE-FILE-DIALOG
function (it does just what I want, and looks good,
too).
The problem is that if you mouse on the CANCEL button,
the CLIM frame gets cancelled, too.
Unwind-protect doesn't help.
Any ideas?
When you click on a Cancel button in an MCL dialog box the CANCEL
function is called, which throws to the nearest :cancel tag. If
you're calling CHOOSE-FILE-DIALOG directly then you need to wrap the
call in a CATCH-CANCEL form (i.e., catch the tag yourself).
The MCL top-level loop catches this tag, which would explain why the
application frame exited instead of an error ("Can't throw to tag
:CANCEL") being signalled.
-Carl
0,,
References:
Main Index |
Thread Index