Platforms to show: All Mac Windows Linux Cross-Platform

CallMethodMBS(target as object, name as string) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Process MBS Util Plugin 10.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Calls a method on the target object.
Example
if CallMethodMBS(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.

Returns true on success and false on failure.

See also:

CallMethodMBS(target as object, name as string, value1 as Variant) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Process MBS Util Plugin 10.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Calls a method on the target object.
Example
if CallMethodMBS(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.

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

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Process MBS Util Plugin 10.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Calls a method on the target object.
Example
if CallMethodMBS(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.

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

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Process MBS Util Plugin 10.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Calls a method on the target object.
Example
if CallMethodMBS(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.

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...