Release 10.1A: OpenEdge Development:
ADM Reference

> ## showMessageProcedure

> Procedure used by Progress Dynamics override for showMessage function to use Progress 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.

> Location: smart.p

> 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 or FALSE (Question or YesNo), or TRUE/FALSE/UNDEFINED (YesNoCancel).

> Notes: None

> Examples:

>     showMessageProcedure ("Is this not a nice &1 &2 message?", "short", "sample",
>     "Question").

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