"Add Cancel"

Started by Kelie, June 28, 2009, 01:06:28 PM

Previous topic - Next topic

Kelie

At the bottom of "Events" tab, there is "Add Cancel" "Clipboard Copy" and "Add to File". What is "Add Cancel" for? I see it adds "^C^C" prefix to the function name. But why? Is it to be used in menu? Thanks.

owenwengerd

Event handlers are called in the same way that menu commands are, so it serves the same purpose that it would in a menu command. I imagine it would be used when there's a possibility that a command is in progress at the point where the event handler might be called.
Owen Wengerd (Outside The Box) / ManuSoft

Kelie

Quote from: owenwengerd on June 28, 2009, 02:08:40 PM
I imagine it would be used when there's a possibility that a command is in progress at the point where the event handler might be called.

Thanks Owen. i read this sentence a couple of time and thought i understood it, but failed to think of an example.