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
4133
Spellchecker In Grid Cell
posted

I have added a spellcheck button to the ButtonsLeft collection of an editor control for use in a grid.  My user clicks the button when they want to spell check the contents of the cell.  I am setting the EditorControl property of the cell in code and I am setting the Spellchecker property of the grid column as well.  The event fires when my user clicks the button and the spellchecker finds the error properly.  However, nothing happens when I attempt to show the spellchecker dialog.  I have tried several arguments for the dialog and none have worked.  I am guessing the problem lies in the fact that I am using a different editor control and not just the cell itself.  I have tried all combinations that you see commented out below.  Any ideas?

If xForm.UltraSpellChecker1.CheckText(grdCell.Text).Count > 0 Then

'xForm.UltraSpellChecker1.ShowSpellCheckDialog(txtBox)

'xForm.UltraSpellChecker1.ShowSpellCheckDialog(Ctrl)

'xForm.UltraSpellChecker1.ShowSpellCheckDialog(grdCell)

xForm.UltraSpellChecker1.ShowSpellCheckDialog(grdCell.EditorControl)

xForm.Refresh()

End If

 

 

Parents Reply Children
No Data