Action
|
p_event
|
p_context
|
p_other
|
Comments
|
Creating, saving, and running the file
|
||||
File→ New
|
NEW
|
56788
|
?
|
Filename 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 filename.
|
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
|
–
|
–
|
–
|