Not all system variables are supported by the event.
Why not just check the value in the handler of an event that fires routinely, and if non-zero, then act?
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com
wrote in message news:5856932@discussion.autodesk.com...
Hi there,
I'm trying to retrieve the DBMOD system variable change...
No luck however.
I retrieve the variable with:
Application.GetSystemVariable("DBMOD")
But after retrieval (when a document has become active) i want my application to know if a document was changed. So the user can see what documents need saving (Tabs on a Palette)
I Tried a Handler to the SystemVariableChanged event of the Application, but it doesn't contain or raises the event (I do see that events are raised, so the event works.)
Does anybody know where (and if) the DBMOD variable is raised as a event if changed?
Or maybe how to see if the document was changed (maybe use the "ObjectModified" event of the database?, and reset a variable on a save....??
ps. The database systemvariablechanged doesn't raise it either!