ClearAllSelections(ByVal xhwnd As Long, ByVal controllltype As Bindto) ClearAllSelectionsex(ByVal xhwnd As Long, ByVal controllltype As Bindto)
|
Funktion:
|
|
|
|
löscht alle Markierungen. Verwendung z.B nach SpellCheckDocument um die markierten Fehler zu löschen. Hinweis: Verwenden Sie ClearAllSelectionsex, wenn Sie im RTF-Control mit geschützten Bereichen arbeiten.
|
|
|
|
|
|
|
|
|
|
|
       
|
  Syntax:
|
|
|
|
|
JRSpell1.ClearAllSelections x.hwnd, xtype
|
|
|
x.HWND
|
HWND des RTF-Steuerelements, der Textbox oder des Textcontrols
|
|
|
x.type
|
xRtf_Control=1, xText_Box=2, xTX_Textcontroll=3; NetRtf_Control=11
|
|
       
|
  Rückgabewert:
|
|
|
|
|
keiner
löst kein Event aus
|
|
|
Beispiel RTF-Control:
|
|
|
JRSpell1.ClearAllSelections RichTextBox1.hWnd, Rtf_Control
|
|
|
Beispiel TX-Textcontrol:
|
|
|
JRSpell1.ClearAllSelections TXTextControl1.hWnd, TX_Textcontroll
|
|
|