>I've read further and you had the idea of using a dummy window for finding out, when the designer is closed.
>
>Well, as my solution uses the project hook, if the form or class is open in the designer, the QueryModifyFile is through, but I attach an Eventhandler, so when closing the class or form designer, the object is destroyed and if I bind to destroy the eventhandler could do something at that point.
>
>Bye, Olaf.
Tried that and of course it does not work. Events of an object in design mode do not occur. But, well, that is a thing to detect if it is not in design mode: init() always occurs when not in design mode, so in a base class init we can set This.DesignMode=.f., that should be sufficient to differntiate between an object created by a designer or not.
Bye, Olaf.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only