Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
950
UltraSpellChecker enable "The spelling check is complete" message
posted

Hello

I need to enable the "The spelling check is complete" message box.

If user enter text with correct spell it is not giving any message.

I am using the following on button click.

ultraSpellCheckerForComments.ShowSpellCheckDialog(this.textComments);

Parents
No Data
Reply
  • 4940
    Offline posted

    srajeshreddy said:

    Hello

    I need to enable the "The spelling check is complete" message box.

    If user enter text with correct spell it is not giving any message.

    I am using the following on button click.

    ultraSpellCheckerForComments.ShowSpellCheckDialog(this.textComments);

    Another way to do what you're asking is to use the SpellCheckDialogClosed event, and check if the Dialog result was OK (meaning not cancelled by the user). Code snippet showing the event is below:

     

    private void ultraSpellChecker1_SpellCheckDialogClosed(object sender, Infragistics.Win.UltraWinSpellChecker.SpellCheckDialogClosedEventArgs e)
    {
        if (e.DialogResult == System.Windows.Forms.DialogResult.OK)
        {
            MessageBox.Show("The spell checking is complete.",
                "Spell Checker",
                MessageBoxButtons.OK,
                MessageBoxIcon.Information);
        }
    }
    

     

Children
No Data