OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: velasquez on February 11, 2019, 12:28:33 PM

Title: Add Cancel
Post by: velasquez on February 11, 2019, 12:28:33 PM
69/5000
The "Add Cancel" option works but nothing that the request then runs.


(defun ^C^Cc:dc_MainMenu/cBarMax/Blutop#OnClicked (/)
  (alert "Cancel OK")
)
Title: Re: Add Cancel
Post by: velasquez on February 15, 2019, 04:12:29 AM
Please someone has an answer to this problem?
Title: Re: Add Cancel
Post by: roy_043 on February 16, 2019, 08:05:10 AM
You should not add '^C^C' to the function name. '^C^C' should be added in the 'AutoLISP Function to Call On Event' box. Using the 'Add Cancel' button will do this for you.
Title: Re: Add Cancel
Post by: velasquez on February 18, 2019, 05:21:25 AM
Quote from: roy_043 on February 16, 2019, 08:05:10 AM
You should not add '^C^C' to the function name. '^C^C' should be added in the 'AutoLISP Function to Call On Event' box. Using the 'Add Cancel' button will do this for you.

Many thanks Roy
Everything worked well now.