You can use SelBold and SelColor properties of the control
lnPos = Thisform.RTF.Object.Find(...)
IF lnPos >= 0
Thisform.RTF.Object.SelBold = .T.
Thisform.RTF.Object.SelColor = RGB()
ENDIF
>Hi, Folks!
>
>I've tried unsuccessfully to implement the following:
>
>There's a richedit with a loaded file. Then, I've created an Edit as a Search. The user has asked me that any word that coincides with the typed text be highlighted and in bold form. In this case, he wants all the matches. I've just gotten the first match and, when changing the color, the whole richedit has also changed, not only the selection.
>
>Does anybody have an idea how I can solve this?
>
--sb--