Had some nice thread code that presented windows to user for interaction. This was kind of OK (no it was not, but it worked…) in Real Studio.
I’m currently moving some projects to Xojo and Xojo prohibits doing user interaction from threads - which is fine.
The problem for me now was how do I present a dialog for the user without needing to rewrite a lot of my code?
I stumbled upon CallMethodLaterMBS by Monkeybread Software which made my life rather easy:
Old code:
DoManualRun //A method in my thread that presents a dialog window.
I did a search around and while I can see people saying its great and discussing parameters, the practical usage has passed me by.
What problem does this solve, for example?