Zur Startseite

JRSpellChecker

Zur Homepage

RestoreForeColor() As OLE_COLOR

Funktion:

Legt die Schriftfarbe für Wörter fest, die richtig geschrieben sind, oder gibt diese zurück.
Nur relevant bei
SelectionMethod = sel_forecolor

       

ico_syntax   Syntax:

JRSpell1.RestoreForeColor = myselcolor

         

ico_weitere Rückgabewert:


keiner

löst kein Event aus.

Beispiel:

    JRSpell1.SelectionMethod = sel_forecolor

    'If you are using more than one Forecolor value in your 'RTF-Control then use the Sel_BackColor or 'Sel_DoubleUnderline SelectionMethod

    'otherwise we draw all the correct words with the 'RestoreForeColor value

    JRSpell1.RestoreForeColor = vbBlack