Platforms to show: All Mac Windows Linux Cross-Platform

Back to DesktopUIControl class.

DesktopUIControl.RefreshThreadSafeMBS(immediately as Boolean = False)

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

This method is to allow you to call the refresh method of a control 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.

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.

See also:

DesktopUIControl.RefreshThreadSafeMBS(X As Integer, Y As Integer, Width As Integer, Height As Integer, immediately as Boolean = False)

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

This method is to allow you to call the refresh method of a control 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.

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.

See also:

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


The biggest plugin in space...