Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

WDialog:EndDialog() Method
Close (terminate) a dialog
------------------------------------------------------------------------------

Syntax
<oWnd>:EndDialog( [ <xResult> ] )   -->   1

Arguments
<xResult> optionally specifies a value (default NIL) to be
stored in the Result property.

Returns
One (1).

Description
This method sets a result value and terminates a dialog.  It
is invoked automatically by the Ok() and Cancel() methods,
so you rarely use it directly.

Example
if lAbort
     self:EndDialog( IDABORT )
endif


See Also: WDialog:Cancel() WDialog:Ok()

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