Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - <b>msgrun()</b> shows a dialogbox with a msg and executes an action http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 MsgRun()               Shows a DialogBox with a msg and executes an action
--------------------------------------------------------------------------------

   Syntax:              MsgRun( <cMsg> [,<cTitle>], [<bAction>] )
                                     --> nil


   Parameters:

   <cMsg>               The message to display

   <cTitle>             The title of the dialogbox.
                        By default "Please, wait..."

   <bAction>            The codeblock to execute. By default it
                        just waits 1 second and finish. MsgRun() will end
                        automatically the modal DialogBox once the codeblock
                        action is performed.

   Returns:             nil

   Observations:        This function simplifies the process of showing
                        a brief message to the user and issuing an action,
                        without having to design and manage a non-modal
                        DialogBox. This function uses a Modal DialogBox which
                        guaranties that the application execution will wait
                        until the codeblock action is performed.

   Sample:              SAMPLES\\TestMsg.prg

   Source code:         SOURCE\\FUNCTION\\MsgRun.prg

   See also:            All Msg...() functions. They greatly simplify
                        your work!


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson