Platforms to show: All Mac Windows Linux Cross-Platform

ShowModalThreadSafeMBS(extends theMessageDialog as MessageDialog)

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Controls MBS Util Plugin 13.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Call ShowModal method on main thread.

This method is to allow you to call the ShowModal method of a MessageDialog in a thread without a problem.

If called on main thread, the plugin will simply call method directly.
If called on other threads the plugin will schedule to call the method a short time later on the main thread.

Of course as this is asynchronously, you do not get details on which button was pressed.
Deprecated. Behavior from Xojo changed, so this method does no longer work.

It may be better to call an update method you created on your window with CallDelegatesMBS.CallDelegateOnMainThreadMBS instead to do several update steps on one.

Blog Entries

Xojo Developer Magazine

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...