Zur Startseite

JRSpellChecker

Zur Homepage

RestoreForeColor() As OLE_COLOR

Function:

Sets or returns the color for the words whos good spelled.
You need this only in use with SelectionMethod = sel_forecolor

         

ico_syntax Syntax:

JRSpell1.RestoreForeColor = myselcolor

         

ico_weitere Return Value:


Nothing

Fires no Event.

Exampel:

    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