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:Cancel() Method
Undo changes made, where possible, and dismiss the dialog
------------------------------------------------------------------------------

Syntax
<oWnd>:Cancel( [ <nResult> ] )   -->  1

Arguments
<nResult> is an optional numeric result (default IDCANCEL) to
be assigned to the Result property.

Returns
One (1).

Description
This method undoes changes, if possible.  Providing any active
control allows it, this method then invokes the EndDialog()
method, passing it the <nResult> value.

This method is mainly used automatically, e.g. if the user
closes a dialog.

Example


See Also: Valid WDialog:EndDialog() WDialog:Ok()

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