Hello everyone,
I have a problem with the event "OnMouseEntered" placed on "Control Bars".
I have refined some native AutoCAD commands, eg. the command "copy".
Unfortunately when I start a command redefined, if the mouse stepped on the form is initiated the event "OnMouseEntered" causing the following error:
can not return to LISP.
Point is not valid.
and other possible side effects. :'(
How do I prevent this?
Do you have any suggestions?
thanks
Try adding a (princ) statement to suppress the return value from the event handler.
Maybe it will help to set your form's Event Invoke property to Asynchronous.
Quote from: owenwengerd on August 12, 2012, 04:40:15 AM
Maybe it will help to set your form's Event Invoke property to Asynchronous.
Ok, this is the right solution!
I hope, however, does not affect other parts of my application ... :'(