DerkJ
(DerkJ)
2
You can do this with a dictionary and delegates.
Your dictionary key would be the method name, the value would be the delegate (AddressOf Methodname).
A delegate is a pre-defined method signature (parameters and/or return value).
You can then invoke this method delegate
it’s an advanced way of doing this but most likely the only one.
https://documentation.xojo.com/api/language/delegate.html#delegate
read more here: