Error message when the event runs DCL_FORM_CLOSEALL

Started by garcigj, February 25, 2014, 01:00:19 AM

Previous topic - Next topic

garcigj

Error message when the event runs DCL_FORM_CLOSEALL

OpenDCL Runtime [8.0.0.3]
Autocad 2014
Windows 7
José Luis García Galán
Hispacad.com - Expertos en CAD 
Madrid (Spain)

owenwengerd

Please create a simple project that I can use to reproduce the problem.
Owen Wengerd (Outside The Box) / ManuSoft

garcigj

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.

José Luis García Galán
Hispacad.com - Expertos en CAD 
Madrid (Spain)

owenwengerd

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.
Owen Wengerd (Outside The Box) / ManuSoft

garcigj

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.
José Luis García Galán
Hispacad.com - Expertos en CAD 
Madrid (Spain)