ClearAllSelections(ByVal xhwnd As Long, ByVal controllltype As Bindto)
|
Function:
|
|
|
|
clears all spellcheck marks. For example use this function after SpellCheckDocument to clear the marks.
Note: Please use ClearAllSelectionsEx, if you are using locked areas in RTF-Control.
|
|
|
|
|
|
|
|
|
|
|
         
|
Syntax:
|
|
|
|
|
JRSpell1.ClearAllSelections x.hwnd, xtype
|
|
|
x.HWND
|
HWND of the RTF-Control, the textbox or the TX-Textcontrol
|
|
|
x.type
|
xRtf_Control=1, xText_Box=2, xTX_Textcontroll=3; NetRtf_Control=11
|
|
       
|
  Return value:
|
|
|
|
|
nothing
fires no event
|
|
|
Example RTF-Control:
|
|
|
JRSpell1.ClearAllSelections RichTextBox1.hWnd, Rtf_Control
|
|
|
Example TX-Textcontrol:
|
|
|
JRSpell1.ClearAllSelections TXTextControl1.hWnd, TX_Textcontroll
|
|
|