Home Forums Presentation Controls can we call Class Events from Control or Form Reply To: can we call Class Events from Control or Form

#7244
Ed ShawEd Shaw
Keymaster

Yes, the method you are looking for is on the ScriptedController (ScreenController/FormController) in the UI. It is usually accessed as ‘this’ in a screen or form. It comes in two forms, one for instance methods and one for static methods:

(this’invokeMethod classSym method parameters filters commit)

(this’invokeMethod instance method filters commit)

As with all of our scripting help, this information is available in NexJ Studio by hovering over the method name in code. Also, just by pressing the ‘ character after ‘this’ in a screen or form will give you a list of all of the available methods and their documentation.

1