MBS Xojo Developer Conference and Training
Join us from 3rd to 6th May 2017 in Berlin, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

CallMethodLaterMBS(target as object, name as string, afterDelay as Double) as boolean
global method, Process, MBS Util Plugin (Calls),
Plugin version: 10.4, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

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:

CallMethodLaterMBS(target as object, name as string, afterDelay as Double, value1 as Variant) as boolean
global method, Process, MBS Util Plugin (Calls),
Plugin version: 10.4, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

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:

CallMethodLaterMBS(target as object, name as string, afterDelay as Double, value1 as Variant, value2 as Variant) as boolean
global method, Process, MBS Util Plugin (Calls),
Plugin version: 10.4, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

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:

CallMethodLaterMBS(target as object, name as string, afterDelay as Double, value1 as Variant, value2 as Variant, value3 as Variant) as boolean
global method, Process, MBS Util Plugin (Calls),
Plugin version: 10.4, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

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:

CallMethodMBS(target as object, name as string) as boolean
global method, Process, MBS Util Plugin (Calls),
Plugin version: 10.4, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

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:

CallMethodMBS(target as object, name as string, value1 as Variant) as boolean
global method, Process, MBS Util Plugin (Calls),
Plugin version: 10.4, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

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:

CallMethodMBS(target as object, name as string, value1 as Variant, value2 as Variant) as boolean
global method, Process, MBS Util Plugin (Calls),
Plugin version: 10.4, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

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:

CallMethodMBS(target as object, name as string, value1 as Variant, value2 as Variant, value3 as Variant) as boolean
global method, Process, MBS Util Plugin (Calls),
Plugin version: 10.4, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

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:

CallMethodOnMainThreadMBS(target as object, name as string) as boolean
global method, Process, MBS Util Plugin (Calls),
Plugin version: 10.4, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

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:

CallMethodOnMainThreadMBS(target as object, name as string, value1 as Variant) as boolean
global method, Process, MBS Util Plugin (Calls),
Plugin version: 10.4, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

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:

CallMethodOnMainThreadMBS(target as object, name as string, value1 as Variant, value2 as Variant) as boolean
global method, Process, MBS Util Plugin (Calls),
Plugin version: 10.4, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

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:

CallMethodOnMainThreadMBS(target as object, name as string, value1 as Variant, value2 as Variant, value3 as Variant) as boolean
global method, Process, MBS Util Plugin (Calls),
Plugin version: 10.4, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

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:

CallMethodOnThreadMBS(BackgroundThread as BackgroundThreadMBS, target as object, name as string) as boolean
global method, Process, MBS Util Plugin (Calls),
Plugin version: 10.4, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

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:

CallMethodOnThreadMBS(BackgroundThread as BackgroundThreadMBS, target as object, name as string, value1 as Variant) as boolean
global method, Process, MBS Util Plugin (Calls),
Plugin version: 10.4, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

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:

CallMethodOnThreadMBS(BackgroundThread as BackgroundThreadMBS, target as object, name as string, value1 as Variant, value2 as Variant) as boolean
global method, Process, MBS Util Plugin (Calls),
Plugin version: 10.4, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

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:

CallMethodOnThreadMBS(BackgroundThread as BackgroundThreadMBS, target as object, name as string, value1 as Variant, value2 as Variant, value3 as Variant) as boolean
global method, Process, MBS Util Plugin (Calls),
Plugin version: 10.4, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

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:

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




Links
MBS Realbasic Chart Plugins