2009-02-17 00:01 UTC
Hello,
I just translate the ErrorHandling.htm. I had a look at the sample and I'm confused: in my experiences the Canceling argument in
is not a boolean, but an integer - in any case until now. 1 for ESC pressed, 0 for not ESC pressed.
Did something has changed? Is it really a boolean now?
See here: http://www.opendcl.com/forum/index.php?topic=384.msg1724#msg1724
Fred
I just translate the ErrorHandling.htm. I had a look at the sample and I'm confused: in my experiences the Canceling argument in
(defun c:Project1_Form1_OnCancelClose( Canceling /)
;; Return T to prevent form closing if not canceling, and unresolved errors found
(and (not Canceling) (HighlightFormErrors)) ; Always allow form to close when canceling
)is not a boolean, but an integer - in any case until now. 1 for ESC pressed, 0 for not ESC pressed.
Did something has changed? Is it really a boolean now?
See here: http://www.opendcl.com/forum/index.php?topic=384.msg1724#msg1724
Fred