Progress
Basic Development
Tools
Input Parameters
The
adecomm/_adeevnt.p
procedure takes the following input parameters:p_product
The ADE product code (for the Procedure Editor, use "Editor").
p_event
The name of an event: NEW, OPEN, BEFORE-OPEN, CLOSE, BEFORE-CLOSE, SAVE, BEFORE-SAVE, COMPILE, BEFORE-COMPILE, RUN, BEFORE-RUN, DEBUG, BEFORE-DEBUG, CHECK-SYNTAX, BEFORE-CHECK-SYNTAX, CHECK-SYNTAX-PARTIAL, and BEFORE-CHECK-SYNTAX-PARTIAL.
p_context
A string that is used to uniquely identify the file being edited. The Procedure Editor uses the edit widget-handle of the buffer for this value. A specific file will have the same context ID for all its file operations. However, if you close a file and then open it again, the context number will change.
p_other
Additional information passed about an event (for example, a "SAVE" event normally passes the filename for the save).
The current filename associated with the window. The name will be unknown (?) if it has not been set—for example, after a File
New.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |