Le 16 avr. 2013 à 12:54, Christian Schmitz a écrit:

> My guess: You show the dialog. RB destroys the object and once the callback 
> comes the reference pointers are invalid.
> Please make n as variable of the window/app/module, so it stay alive until 
> the sheet closed.

Well, you're right (please read the answer I made to my own post if you haven't 
already), but if I define n as a property, the n.ShowChooseObjectDialog call 
will still be bypassed and I'll always get an invalid result (nil). Still 
better than no crash, but if I don't get the selected file, I better not ask 
the user to select one.
Thanks
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to