Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

ShowModalThreadSafeMBS(extends theMessageDialog as MessageDialog)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Controls MBS Util Plugin 13.0 Yes Yes Yes No No
Function: Call ShowModal method on main thread.
Notes:
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.

Feedback, Comments & Corrections

ShowModalWithinThreadSafeMBS(extends theMessageDialog as MessageDialog, parent as window)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Controls MBS Util Plugin 13.0 Yes Yes Yes No No
Function: Call ShowModalWithin method on main thread.
Notes:
This method is to allow you to call the ShowModalWithin 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.

Feedback, Comments & Corrections

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




Links
MBS Xojo Plugins