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

Viewing 1 reply thread
  • Author
    Posts
    • #7197
      Vaibhav KhopadeVaibhav khopade
      Participant

      Hi,

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

       

      0
    • #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
Viewing 1 reply thread
  • You must be logged in to reply to this topic.