PDA

View Full Version : events....



san_k4
2004-10-04, 10:08 AM
I am inserting an object with event handler though vba;it triggers events in the session in which it is created. Later on in another session of the same drawing this trgger is not working.How to make this object/entity generating events all the time/sessions?

thanks in advance

Regards,
SANTHOSH

RobertB
2004-10-06, 03:40 AM
The usual approach is to store the handles of objects requiring events in later sessions in a dictionary in the drawing, then restoring the events by reading the dictionary.