Application object
When you use plug-in technology, use Subscribe to tell FORMS which events you want to subscribe to (use). Handler is a handle to your plug-in module (extension), and EventName is the name of the event, for example FormComplete. HandlerFunction is the name of the function in your plug-in that executes when the event specified in EventName is fired.
Using , your extension is called every time the EventName event is fired, i.e. on application level. If you only are interested in events on a certain form or field (not on all forms or fields) use the SubscribeToObject method.
'** Subscribe to interesting events
call Application.Subscribe( Me, "FormComplete", "OnFormComplete")
Calling conventions (read this if two or more plug-ins subscribe to the same event)