Progress
Language Reference


ADD-EVENTS-PROCEDURE( ) Method

Adds an external procedure to the list that Progress searches for event procedures to handle ActiveX control events.

Return Type: LOGICAL

Applies To: Control-frame

SYNTAX
ADD-EVENTS-PROCEDURE ( procedure-handle ) 

procedure-handle

A handle to a persistent procedure or an otherwise active procedure on the call stack.

By default, Progress searches the external procedure that created the current control-frame for the event procedure to handle an ActiveX control event. This method allows you to specify alternative procedure (.p and .w) files to search for the event handler.

When Progress receives an ActiveX event, it searches for the event handler in order of the most recent procedure added to the search list and ends the search with the external procedure that created the control-frame. You can override an existing procedure by adding a different one to the search list. Progress always uses the event handler in the most recently added procedure.

If the method succeeds in adding the procedure to the list, it returns TRUE. Otherwise, it returns FALSE.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095