Progress
ADM 2 Reference
showMessageProcedure (smart.p)
Dynamics override for showMessage function to use Dynamics message handling routines. By default using a simple MESSAGE statement, displays either a literal message string, or a message number that is returned by the messageNumber function. The user’s button choice is returned in the OUTPUT parameter.
Parameters:INPUT pcMessage AS CHARACTER
Either a literal message string, or a message number in string form. A message number can be followed by a comma-separated list with up to 10 entries. All the entries except the last are used as replacements for parameters of form ‘&n’ in the message string, where n is some number in the range 1 - 9. The last entry must be ‘Question’, ‘YesNo’, or ‘YesNoCancel’, which determines which buttons are provided in the message box.
OUTPUT plAnswer AS LOGICAL
The user’s choice of button: true/false (‘Question’ or ‘YesNo’), or true/false/undefined (‘YesNoCancel’)
Returns: Nothing (procedure).Notes: None.Examples:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |