Hi,
1. There is a C1Spell.DialogAction event. You can
deterime which button was pressed there, Add, Cancel, Change, ChangeAll, Ignore
or IgnoreAll.
2.You can also implement your own dialogs for
C1Spell. Check CustomUI sample that shows how to do it.
3. If your non-standard control is
System.Windows.Forms.Control descendant, you can create a new class derived from
your control and implement IC1TextBoxBaseWrapper (plus
C1TextBoxBaseAdvancedWrapper optionally) interfaces. Those interfaces allow
C1Spell working with a control like usual with TextBox.
Regards,
Sergey.
I
also need to use the dictionary with a non-standard control. I have methods to
traverse and parse the text into words to check but I am not sure how to get
the returns from the dialog window.
correction =
Me.NotesC1Spell.CheckString(word,
C1.Win.C1Spell.BadWordDialogEnum.EnglishDialog) returns the new word and
Me.NotesC1Spell.CancelSpelling handles the cancel button but how about ignore,
ignoreall, changeall? How do I know these buttons where pushed?
http://home.componentone.com/cs/forums/191999/ShowPost.aspx