Le 16 avr. 2013 à 12:13, Marnaud a écrit:

> p.Modality=3
> p.Parent=self 'Is in a window, of course

When I include these 2 lines above, I've discovered the code doesn't wait at 
“n.ShowChooseObjectDialog”. So, the execution continues while the dialog is 
shown and the method terminates; so the reference variable goes out of scope 
and the crash happens.

ShowChooseObjectDialog should always wait until the dialog is closed, right?
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to