OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Fred Tomke on March 20, 2009, 02:54:23 PM

Title: Mr. Bad Guy
Post by: Fred Tomke on March 20, 2009, 02:54:23 PM
I'm not sure if I'm wrong. OpenDCL 5  [5.0.2.4] AutoCAD 2004

Steps to reproduce:
- call the MasterDemo
- press Methods button (2nd)
- activate Manipulation
- doubleclick the toggle

Does anybody get an AutoLISP error?
I get this error also in my forms. Do I have to activate OnDoublick for every toogle?

Fred
Title: Re: Mr. Bad Guy
Post by: owenwengerd on March 20, 2009, 03:54:28 PM
Yep, it's a bug. If there's no double click event handler, it fires OnClicked instead -- but without the required Value argument. This is fixed now for 5.1; in the meantime, the workaround is to add a double click event handler as you suggested.