How does event handling work?
Events are handled by passing the Form object (via the EventHandler property) a reference to an object implemented by your script with appropriately named methods. QuickPrompts will then call these methods as events occur. For VBScript this can be done using the Class functionality in VBScript 5.0. For JScript this can be done by creating JScript objects. You can also set the EventHandler property to “me” in VB/VBA/VBScript or “this” in JScript and then simply implement the appropriate event handler methods without creating an extra class. The Tutorial and Samples included in the online help describe in further detail how to setup event handlers.