Cancel Button control template

Top  Previous  Next

The CancelButton template adds a single button control marked Cancel. This button lets the user close a window and it provides a convenient place for the developer to add code to "undo" before closing down the procedure. The generated source code sets a "Request Cancelled" flag and closes down the window procedure.

The CancelButton template provides no configuration options.

You can insert the executable code you need to "clean up" at an embed point.

When Pressed

The standard set of prompts for buttons Normally, when using a Control template, these prompts are not used.