Support 1

Unfortunately this does not seem to be possible. We have not found a way to get VBScript to assign an event handler dynamically.

A couple of suggestions:

  • Try experimenting with the VBScript function GetRef (designed to support DHTML events), like this:
      .onClick = GetRef("testSub")

  • Develop a COM-enabled component to replace the Form, using a language that supports dynamically assigned event handlers (eg. Delphi, C#, VB.NET). You can create an instance of such a component from a Formativ applet, and pass data between the applet and component. You may find the featured topic .net modules useful.

I hope this helps.

Kind regards,
Advansys Support