RBCocoaObject.Invoke

From Xojo Documentation

Method


RBCocoaObject.Invoke(nameOfSelector As String, ParamArray Parameters() As Variant) As Variant

New in 2010r3

Supported for all project types and targets.

Calls a selector (a.k.a. method) of a RBCocoaObject.

Notes

Selector is the name of the selector you want to call. Parameters is a variable number of parameters depending on what the selector needs. If something is returned, it will be a Variant. However, not all calls return a value.