Lt Dan's legs Posted August 10, 2010 Posted August 10, 2010 How do i get the X button (top right corner button) to work? Quote
rkmcswain Posted August 10, 2010 Posted August 10, 2010 Work to do what? It cancels the dialog for me. Quote
Tharwat Posted August 10, 2010 Posted August 10, 2010 A very great idea, I have been working with DCL for somehow a long time and I haven't thought of that. Great shut Lt Dan's legs. But I haven't seen that supported with Lisp DCL , only VBA . Thanks Quote
Lt Dan's legs Posted August 10, 2010 Author Posted August 10, 2010 I'm an idiot! is_cancel = true; Quote
Tharwat Posted August 10, 2010 Posted August 10, 2010 I'm an idiot! is_cancel = true; but this would accept the esc button from the keyboard, not the X button that you indicated in your thread. Quote
Lt Dan's legs Posted August 10, 2010 Author Posted August 10, 2010 escape works and the X button : button { key = "cancel"; label = "Cancel"; is_cancel = true; } Quote
The Buzzard Posted August 10, 2010 Posted August 10, 2010 I been using it for some time now and it never fails. : button { label = "&Exit"; key = "cancel"; [color=red]is_cancel = true;[/color] } Quote
Lee Mac Posted August 10, 2010 Posted August 10, 2010 Else use the widgets: ok_only; ok_cancel; ok_cancel_help; ok_cancel_help_errtile; ok_cancel_help_info; Quote
Lt Dan's legs Posted August 10, 2010 Author Posted August 10, 2010 I been using it for some time now and it never fails. it work's. I just forgot is_cancel = true; It was driving me nuts! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.