Valhalla Legends Forums Archive | Visual Basic Programming | How do you set the forecolor of a RichTextBox?

AuthorMessageTime
Dyndrilliac
My RTB control, I just noticed had no "Forecolor" property, and I want to make it so the user can type in it and it-not-be black.
September 27, 2004, 6:07 PM
Spht
[quote author=Dyndrilliac link=topic=8910.msg82280#msg82280 date=1096308449]
My RTB control, I just noticed had no "Forecolor" property, and I want to make it so the user can type in it and it-not-be black.
[/quote]

[quote]With RichTextBox1
    .SelStart = 0
    .SelLength = Len(.Text)
    .SelColor = vbNotBlack
    .SelStart = .SelLength
End With[/quote]
September 27, 2004, 6:18 PM

Search