Platforms to show: All Mac Windows Linux Cross-Platform

CallMethodOnThreadMBS(BackgroundThread as BackgroundThreadMBS, target as object, name as string) as boolean   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Process MBS Util Plugin 10.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This item is deprecated and should no longer be used.
Calls a method on the target object on a new thread.
Example
if CallMethodOnThreadMBS(new BackgroundThreadMBS, window1, "Test") then
msgbox "OK"
else
msgbox "Failed"
end if

The method must be declared on the given class for the target object with no parameters and no return values.

Pass in "new BackgroundThreadMBS" for the thread to use. Execution will be done later (Asynchronously) on that thread. Useful for perform some code in the background without creating a thread yourself.

Returns true on success and false on failure.

See also:

CallMethodOnThreadMBS(BackgroundThread as BackgroundThreadMBS, target as object, name as string, value1 as Variant) as boolean   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Process MBS Util Plugin 10.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This item is deprecated and should no longer be used.
Calls a method on the target object on a new thread.
Example
if CallMethodOnThreadMBS(new BackgroundThreadMBS, window1, "Test", "Hello") then
msgbox "OK"
else
msgbox "Failed"
end if

The method must be declared on the given class for the target object with one variant parameter and no return values.

Pass in "new BackgroundThreadMBS" for the thread to use. Execution will be done later (Asynchronously) on that thread. Useful for perform some code in the background without creating a thread yourself.

Returns true on success and false on failure.

See also:

CallMethodOnThreadMBS(BackgroundThread as BackgroundThreadMBS, target as object, name as string, value1 as Variant, value2 as Variant) as boolean   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Process MBS Util Plugin 10.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This item is deprecated and should no longer be used.
Calls a method on the target object on a new thread.
Example
if CallMethodOnThreadMBS(new BackgroundThreadMBS, window1, "Test", "Hello", "World") then
msgbox "OK"
else
msgbox "Failed"
end if

The method must be declared on the given class for the target object with two variant parameters and no return values.

Pass in "new BackgroundThreadMBS" for the thread to use. Execution will be done later (Asynchronously) on that thread. Useful for perform some code in the background without creating a thread yourself.

Returns true on success and false on failure.

See also:

CallMethodOnThreadMBS(BackgroundThread as BackgroundThreadMBS, target as object, name as string, value1 as Variant, value2 as Variant, value3 as Variant) as boolean   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Process MBS Util Plugin 10.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This item is deprecated and should no longer be used.
Calls a method on the target object on a new thread.
Example
if CallMethodOnThreadMBS(new BackgroundThreadMBS, window1, "Test", "Hello", "World", 5) then
msgbox "OK"
else
msgbox "Failed"
end if

The method must be declared on the given class for the target object with three variant parameters and no return values.

Pass in "new BackgroundThreadMBS" for the thread to use. Execution will be done later (Asynchronously) on that thread. Useful for perform some code in the background without creating a thread yourself.

Returns true on success and false on failure.

See also:

Blog Entries

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


The biggest plugin in space...