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]

WProgressDialog:Cancel() Method
Signal that an on-going activity should stop
------------------------------------------------------------------------------

Syntax
<oWnd>:Cancel()   -->  1

Arguments
None.

Returns
One (1).

Description
This method can be used to signal that the activity underlying
a progress dialog should stop.  To make use of this method all
you need is a push button with an id set to IDCANCEL.  The
button's title can be anything you like (e.g. "Abort Print").

If you don't want the user to have such a button, don't put
one in your dialog.

This method sets the Cancelled property; it is up to the
underlying activity to monitor that property and decide to
whether/when to stop.

Example
See SOURCE\OO\PBAR.PRG.


See Also: Cancelled

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