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

CallMethodLaterMBS(target as object, name as string, afterDelay as Double) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Process MBS Util Plugin 10.4 Yes Yes Yes Yes No
Function: Calls a method on the target object on the main thread after the given delay in seconds.
Example:
if CallMethodLaterMBS(window1, "Test", 5.0) then
msgbox "OK"
else
msgbox "Failed"
end if
Notes:
The method must be declared on the given class for the target object with no parameters and no return values.

The method will be called later (Asyncronously) on the main thread. Useful for performing non thread safe stuff like GUI functions on the main thread after the given delay in seconds.

Returns true on success and false on failure.
The time given is just a roughly suggestions. Actual time on the method call depends on how busy your application is.

See also:

Feedback, Comments & Corrections

CallMethodLaterMBS(target as object, name as string, afterDelay as Double, value1 as Variant) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Process MBS Util Plugin 10.4 Yes Yes Yes Yes No
Function: Calls a method on the target object on the main thread after the given delay in seconds.
Example:
if CallMethodLaterMBS(window1, "Test", 4.0, "Hello") then
msgbox "OK"
else
msgbox "Failed"
end if
Notes:
The method must be declared on the given class for the target object with one variant parameter and no return values.

The method will be called later (Asyncronously) on the main thread after the given delay in seconds. Useful for performing non thread safe stuff like GUI functions on the main thread.

Returns true on success and false on failure.
The time given is just a roughly suggestions. Actual time on the method call depends on how busy your application is.

See also:

Feedback, Comments & Corrections

CallMethodLaterMBS(target as object, name as string, afterDelay as Double, value1 as Variant, value2 as Variant) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Process MBS Util Plugin 10.4 Yes Yes Yes Yes No
Function: Calls a method on the target object on the main thread after the given delay in seconds.
Example:
if CallMethodLaterMBS(window1, "Test", 3.0, "Hello", "World") then
msgbox "OK"
else
msgbox "Failed"
end if
Notes:
The method must be declared on the given class for the target object with two variant parameters and no return values.

The method will be called later (Asyncronously) on the main thread. Useful for performing non thread safe stuff like GUI functions on the main thread after the given delay in seconds.

Returns true on success and false on failure.
The time given is just a roughly suggestions. Actual time on the method call depends on how busy your application is.

See also:

Feedback, Comments & Corrections

CallMethodLaterMBS(target as object, name as string, afterDelay as Double, value1 as Variant, value2 as Variant, value3 as Variant) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Process MBS Util Plugin 10.4 Yes Yes Yes Yes No
Function: Calls a method on the target object on the main thread after the given delay in seconds.
Example:
if CallMethodLaterMBS(window1, "Test", 3.0, "Hello", "World", 5) then
msgbox "OK"
else
msgbox "Failed"
end if
Notes:
The method must be declared on the given class for the target object with three variant parameters and no return values.

The method will be called later (Asyncronously) on the main thread. Useful for performing non thread safe stuff like GUI functions on the main thread after the given delay in seconds.

Returns true on success and false on failure.
The time given is just a roughly suggestions. Actual time on the method call depends on how busy your application is.

See also:

Feedback, Comments & Corrections

CallMethodMBS(target as object, name as string) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Process MBS Util Plugin 10.4 Yes Yes Yes Yes No
Function: Calls a method on the target object.
Example:
if CallMethodMBS(window1, "Test") then
msgbox "OK"
else
msgbox "Failed"
end if
Notes:
The method must be declared on the given class for the target object with no parameters and no return values.

Returns true on success and false on failure.

See also:

Feedback, Comments & Corrections

CallMethodMBS(target as object, name as string, value1 as Variant) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Process MBS Util Plugin 10.4 Yes Yes Yes Yes No
Function: Calls a method on the target object.
Example:
if CallMethodMBS(window1, "Test", "Hello") then
msgbox "OK"
else
msgbox "Failed"
end if
Notes:
The method must be declared on the given class for the target object with one variant parameter and no return values.

Returns true on success and false on failure.

See also:

Feedback, Comments & Corrections

CallMethodMBS(target as object, name as string, value1 as Variant, value2 as Variant) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Process MBS Util Plugin 10.4 Yes Yes Yes Yes No
Function: Calls a method on the target object.
Example:
if CallMethodMBS(window1, "Test", "Hello", "World") then
msgbox "OK"
else
msgbox "Failed"
end if
Notes:
The method must be declared on the given class for the target object with two variant parameters and no return values.

Returns true on success and false on failure.

See also:

Feedback, Comments & Corrections

CallMethodMBS(target as object, name as string, value1 as Variant, value2 as Variant, value3 as Variant) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Process MBS Util Plugin 10.4 Yes Yes Yes Yes No
Function: Calls a method on the target object.
Example:
if CallMethodMBS(window1, "Test", "Hello", "World", 5) then
msgbox "OK"
else
msgbox "Failed"
end if
Notes:
The method must be declared on the given class for the target object with three variant parameters and no return values.

Returns true on success and false on failure.

See also:

Feedback, Comments & Corrections

CallMethodOnMainThreadMBS(target as object, name as string) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Process MBS Util Plugin 10.4 Yes Yes Yes Yes No
Function: Calls a method on the target object on the main thread.
Example:
if CallMethodOnMainThreadMBS(window1, "Test") then
msgbox "OK"
else
msgbox "Failed"
end if
Notes:
The method must be declared on the given class for the target object with no parameters and no return values.

The method will be called later (Asyncronously) on the main thread. Useful for performing non thread safe stuff like GUI functions on the main thread.

Returns true on success and false on failure.
Deprecated, please use CallDelegatesMBS.CallDelegateOnMainThreadMBS instead.

See also:

Feedback, Comments & Corrections

CallMethodOnMainThreadMBS(target as object, name as string, value1 as Variant) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Process MBS Util Plugin 10.4 Yes Yes Yes Yes No
Function: Calls a method on the target object on the main thread.
Example:
if CallMethodOnMainThreadMBS(window1, "Test", "Hello") then
msgbox "OK"
else
msgbox "Failed"
end if
Notes:
The method must be declared on the given class for the target object with one variant parameter and no return values.

The method will be called later (Asyncronously) on the main thread. Useful for performing non thread safe stuff like GUI functions on the main thread.

Returns true on success and false on failure.
Deprecated, please use CallDelegatesMBS.CallDelegateOnMainThreadMBS instead.

See also:

Feedback, Comments & Corrections

CallMethodOnMainThreadMBS(target as object, name as string, value1 as Variant, value2 as Variant) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Process MBS Util Plugin 10.4 Yes Yes Yes Yes No
Function: Calls a method on the target object on the main thread.
Example:
if CallMethodOnMainThreadMBS(window1, "Test", "Hello", "World") then
msgbox "OK"
else
msgbox "Failed"
end if
Notes:
The method must be declared on the given class for the target object with two variant parameters and no return values.

The method will be called later (Asyncronously) on the main thread. Useful for performing non thread safe stuff like GUI functions on the main thread.

Returns true on success and false on failure.
Deprecated, please use CallDelegatesMBS.CallDelegateOnMainThreadMBS instead.

See also:

Feedback, Comments & Corrections

CallMethodOnMainThreadMBS(target as object, name as string, value1 as Variant, value2 as Variant, value3 as Variant) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Process MBS Util Plugin 10.4 Yes Yes Yes Yes No
Function: Calls a method on the target object on the main thread.
Example:
if CallMethodOnMainThreadMBS(window1, "Test", "Hello", "World", 5) then
msgbox "OK"
else
msgbox "Failed"
end if
Notes:
The method must be declared on the given class for the target object with three variant parameters and no return values.

The method will be called later (Asyncronously) on the main thread. Useful for performing non thread safe stuff like GUI functions on the main thread.

Returns true on success and false on failure.
Deprecated, please use CallDelegatesMBS.CallDelegateOnMainThreadMBS instead.

See also:

Feedback, Comments & Corrections

CallMethodOnThreadMBS(BackgroundThread as BackgroundThreadMBS, target as object, name as string) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Process MBS Util Plugin 10.4 Yes Yes Yes Yes No
Function: 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
Notes:
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:

Feedback, Comments & Corrections

CallMethodOnThreadMBS(BackgroundThread as BackgroundThreadMBS, target as object, name as string, value1 as Variant) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Process MBS Util Plugin 10.4 Yes Yes Yes Yes No
Function: 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
Notes:
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:

Feedback, Comments & Corrections

CallMethodOnThreadMBS(BackgroundThread as BackgroundThreadMBS, target as object, name as string, value1 as Variant, value2 as Variant) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Process MBS Util Plugin 10.4 Yes Yes Yes Yes No
Function: 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
Notes:
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:

Feedback, Comments & Corrections

CallMethodOnThreadMBS(BackgroundThread as BackgroundThreadMBS, target as object, name as string, value1 as Variant, value2 as Variant, value3 as Variant) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Process MBS Util Plugin 10.4 Yes Yes Yes Yes No
Function: 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
Notes:
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:

Feedback, Comments & Corrections

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




Links
MBS Xojo Chart Plugins