Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How does event handling work?

event handling
0
Posted

How does event handling work?

0

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.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123