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

Viewing 1 reply thread
  • Author
    • #7197
      Vaibhav khopadeVaibhav khopade


      Is there a way to call Custom Class Events from a Control on Form or from script of a Form ?


    • #7244
      Ed ShawEd Shaw

      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.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.