Platforms to show: All Mac Windows Linux Cross-Platform
Back to RectControl class.
RectControl.InvalidateThreadSafeMBS(EraseBackground as boolean = true)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Controls | MBS Util Plugin | 13.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
This method is to allow you to call the invalidate 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:
RectControl.InvalidateThreadSafeMBS(X as Integer, Y as Integer, Width as Integer, Height as Integer, EraseBackground as boolean = true)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Controls | MBS Util Plugin | 13.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
This method is to allow you to call the invalidate 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.