Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

CallDelegatesMBS.CallDelegateOnMainThreadMBS(m as _delegateMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Process MBS Util Plugin 14.0 Yes Yes Yes Yes No
Function: Calls a delegate on the main thread.
Example:
CallDelegateOnMainThreadMBS AddressOf testString, "Hello"
CallDelegateOnMainThreadMBS AddressOf testNumbers, 5, 6
CallDelegateOnMainThreadMBS AddressOf TestNoParameters
CallDelegateOnMainThreadMBS AddressOf Test, "4th call", 4
Notes:
We call the delegate on the main thread later with passing a parameter
Our plugin supports various combinations of up to 2 parameters of type string, variant, boolean, double, integer and object.
If you need more, please contact us.
Only supported on Xojo 2013r1 and newer.

If the method you call has optional parameters, you must pass all values or Xojo will throw a compile error.

Feedback, Comments & Corrections

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




Links
MBS Xojo PDF Plugins