TheSwamp

Code Red => Visual DCL Programming => AutoLISP (Vanilla / Visual) => OpenDCL => Topic started by: jbuzbee on May 10, 2007, 09:26:52 AM

Title: Document mismatch problem with beta 12
Post by: jbuzbee on May 10, 2007, 09:26:52 AM
Is no one else using modeless dialogs like palettes? i.e. keep them floating for multiple document sessions??

Oh well.

There is a document mismatch bug with beta 12.  A modeless form opened in drawing 1 won't respond in drawing 2 - and the onDocActivated event isn't firing either.  I posted a bug report and uploaded a sample at sourceforge.  Could someone else confirm this.  ADT 2006 and AutoCAD Architect 2008.

Back to beta 9 . . .
Title: Re: Document mismatch problem with beta 12
Post by: Kerry on May 10, 2007, 11:44:53 PM
I've added a note and alternative code at SourceForge James ... essentially I agree.

I can close the dialog.

Calling the eventHandler from the command line does update the dialog, so it's certainly an event firing problem.
Title: Re: Document mismatch problem with beta 12
Post by: Kerry on May 18, 2007, 04:30:42 AM
Have you tried this with B13 James ??
Title: Re: Document mismatch problem with beta 12
Post by: jbuzbee on May 18, 2007, 08:42:30 AM
Ahhhhh . . .

I have code in my mnl file to catch and refresh floating forms, and the onDocActivated event is now working - I think I can finally take most of the refresh buttons off my forms!

13 indeed seems to be a lucky number: everything seems to be working fine. 

Thanks for your help in confirming the problem.  Your work with opendcl has proved invaluable.   :wink: