User Tools

Site Tools


tplcontrolcancelbutton.htm
Navigation:  Templates > Guide to all Templates > Control Templates >====== Cancel Button control template ====== Previous pageReturn to chapter overviewNext page

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.
tplcontrolcancelbutton.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1