Progress
ADM 2 Reference
okToContinueProcedure (datavis.p)
Check whether the visual object has modified screen data or its data-source has uncommitted changes. If either of these conditions is true we issue Yes-No-Cancel questions allowing the user to choose how to proceed. The choices are: save/commit and continue; cancel/undo and continue; not continue.
Parameters:INPUT pcAction AS CHARACTER
Used to retrieve the correct message. Valid values are
‘Exit’ -- Exit/close application window
‘ ’ [the empty string] -- Continue
‘Commit’ -- Commit (yes, no, cancel)
‘Undo’ -- Undo (no save option)
‘OK’ -- No question: save and commit
‘Cancel’ -- No question: cancel and undo
OUTPUT plAnswer AS LOGICAL
The user’s response to the question, if any
Returns: Nothing (procedure).Notes: confirmExit and confirmOpenQuery call this function. This is copied from okToContinue function in datavis.p for use with Dynamics.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |