Posted 5 September 2025, 1:47 pm EST
This is not an “end of the world” issue but have some user complaints/thoughts. Probably missed the solution in the documentation so feel free to refresh my memory/opine!
Issue…
Have multiple (up to 10 in some cases) text boxes on various forms in the application. During the data save method, each textbox is first spellchecked individually using the “CheckControl” with the user being alerted/given options as advertised. Everything works perfect!
sample snippet…
private C1SpellChecker SpellCheck = new C1SpellChecker();
SpellCheck.CheckControl(textbox1, true);
SpellCheck.CheckControl(textbox2, true);
SpellCheck.CheckControl(textbox3, true);
However, users want the option to click “CANCEL” SpellChecker dialog box to abandon the entire sequence of spellchecking for the remainder of the text boxes.
Example: when Textbox1 is spellchecked the user may want to click cancel and skip textbox2 and textbox3.
**
Is there a way to capture the Cancel button click event from the SpellCheck dialog? **
Just making this up but say,
SpellCheck.CheckControl(textbox1, true);
if (SpellCheck Dialog Cancel Button Is Clicked==True)
{
SaveTheData;
}
else
{
SpellCheck.CheckControl(textbox2, true);
SpellCheck.CheckControl(textbox3, true);
…
…
}
Open to thought, user anecdotes, snide remarks, and so on.
Thanks in advance