OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: garcigj on February 25, 2014, 01:00:19 AM

Title: Error message when the event runs DCL_FORM_CLOSEALL
Post by: garcigj on February 25, 2014, 01:00:19 AM
Error message when the event runs DCL_FORM_CLOSEALL

OpenDCL Runtime [8.0.0.3]
Autocad 2014
Windows 7
Title: Re: Error message when the event runs DCL_FORM_CLOSEALL
Post by: owenwengerd on February 25, 2014, 06:37:10 AM
Please create a simple project that I can use to reproduce the problem.
Title: Re: Error message when the event runs DCL_FORM_CLOSEALL
Post by: garcigj on February 25, 2014, 08:42:00 AM
Owen,

I can not reproduce the errors in a simple test, but in my project is giving error. Do not know why.

I put the test project. but as I said before, it works well.
I send by MP project with which the error occurs, just to try it.

Title: Re: Error message when the event runs DCL_FORM_CLOSEALL
Post by: owenwengerd on February 25, 2014, 11:56:20 AM
Thanks, I was able to reproduce the problem (the tab pages were the key), and this is now fixed for the next build. Keep in mind that using (dcl-Form-CloseAll) can potentially close forms that are not from your application. It's almost always best to close only your forms by calling (dcl-Form-Close) for each open form.
Title: Re: Error message when the event runs DCL_FORM_CLOSEALL
Post by: garcigj on February 25, 2014, 12:04:08 PM
Owen,

I have set up for this application (dcl-Form-Close), if you notice tapeworm commented with ";;"

I'll have to look at this more closely to applications that use multiple palettes and modeless dialog

I do not want to use DCL_FORM_CLOSEALL in published applications.

Thanks and regards.