OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: AutoKAD on July 08, 2009, 11:38:42 PM

Title: PictureBox Control - OnRightClick + dcl_Form_Close
Post by: AutoKAD on July 08, 2009, 11:38:42 PM
I am using the RightClick event for a picture box control to close a form and it closes the form, but also crashes AutoCAD.  This occurs with all click events, except for the Clicked event.  Just wondering if this could be a bug?
Title: Re: PictureBox Control - OnRightClick + dcl_Form_Close
Post by: owenwengerd on July 09, 2009, 09:04:51 AM
I couldn't reproduce this. Can you upload a simple sample code sample that reproduces the problem?
Title: Re: PictureBox Control - OnRightClick + dcl_Form_Close
Post by: BazzaCAD on July 09, 2009, 10:48:04 AM
Quote from: owenwengerd on July 09, 2009, 09:04:51 AM
...simple sample code sample...
LOL, that's a good one.  ;)
Title: Re: PictureBox Control - OnRightClick + dcl_Form_Close
Post by: owenwengerd on July 09, 2009, 10:59:31 AM
Too many simple samples...
Title: Re: PictureBox Control - OnRightClick + dcl_Form_Close
Post by: AutoKAD on July 09, 2009, 02:27:33 PM
I'll get you a simple sample of simple code for a simple test of a possible simple problem.  Sorry got carried away.   ;D

Just so you know what I am running:
AutoCAD 2004
Windows XP
Title: Re: PictureBox Control - OnRightClick + dcl_Form_Close
Post by: AutoKAD on July 09, 2009, 05:33:02 PM
It only occurs with modeless forms.  I tried it with a modal form and had no problems.  Here are the test files.
Title: Re: PictureBox Control - OnRightClick + dcl_Form_Close
Post by: owenwengerd on July 09, 2009, 08:44:54 PM
This problem is now fixed for the picture box in Beta 7.
Title: Re: PictureBox Control - OnRightClick + dcl_Form_Close
Post by: AutoKAD on July 09, 2009, 08:58:59 PM
Awesome.

Thanks Owen!