• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 46. Using Events in FrontPage 20... > Using the withevents Keyword to Catc...

Using the withevents Keyword to Catch Events

To set up a program that can catch and respond to FrontPage 2000 generated events, a programmer must use the VBA withevents keyword. This keyword tells the Visual Basic Editor (or standalone Visual Basic) to setup event handlers for any events defined in the object.

Note

An event handler refers to a subprocedure defined in such a manner that the FrontPage Object Model makes a call into that procedure when its corresponding event is fired in the application.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint