OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: Kelie on June 28, 2009, 01:06:28 PM

Title: "Add Cancel"
Post by: Kelie on June 28, 2009, 01:06:28 PM
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.
Title: Re: "Add Cancel"
Post by: owenwengerd on June 28, 2009, 02:08:40 PM
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.
Title: Re: "Add Cancel"
Post by: Kelie on June 29, 2009, 12:15:42 AM
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.