Progress
Basic Development
Tools


Usage

The following comments address Procedure Editor usage issues:

The scenario shown in Table 3–2 applies to the Procedure Editor.

Table 3–2: Usage Scenario for the Procedure Editor
Action
p_event
p_context
p_other
Comments
Creating, Saving, and Running the File
File New
NEW
56788
?
File name unknown.
File Save
BEFORE-SAVE
56788
c:\9\window-1.w
SAVE
56788
c:\9\window-1.w
Running the file
BEFORE-RUN
56788
c:\9\window-1.w
Run uses last file name.
RUN
56788
c:\9\window-1.w
File Save As
BEFORE-SAVE
56788
c:\9\my-file.w
Same context, new name.
SAVE
56788
c:\9\my-file.w
Closing the File with Modifications
Procedure Editor prompts user to save changes
BEFORE-SAVE
56788
c:\9\my-file.w
Closing a file can cause the Procedure Editor to prompt the user to save a file.
SAVE
56788
c:\9\my-file.w
Procedure Editor closes the file
BEFORE-CLOSE
56788
c:\9\my-file.w
CLOSE
56788
c:\9\my-file.w
Opening the File
File Open
BEFORE-OPEN
?
c:\9\my-file.w
Occurs after the open dialog box. Before-open can be cancelled.
OPEN
46647
c:\9\my-file.w
Observe the new context number.
Closing the File Without Modifications
File Close
BEFORE-CLOSE
46647
c:\9\my-file.w
CLOSE


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