Richbox Controls - Apending color text...
Posted on 2003-10-21
Hello, can someone give me an example of how to append color text in a richbox control? I am using one as a text box, and when opening a file and copying whats in the file into the richtext if there is a specfic word or somthing i would like to make that word a diffrent color.
simple Example of what i want done:
open "myrFile.txt" for input as #1
line input #1, tempdata
tempdata=replace(tempdata, "RED","makemered") ' change "makemered" to what ever it takes to make it red
richtextbox1=richtextbox1 + tempdata
loop until eof(1)