Platforms to show: All Mac Windows Linux Cross-Platform
Back to Label class.
Label.SetTextThreadSafeMBS(text as string)
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 set the text property of a label in a thread without a problem.
If called on main thread, the plugin will simply set text property directly.
If called on other threads the plugin will schedule to set the property 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.
Some examples using this method:
The items on this page are in the following plugins: MBS Util Plugin.