Feb 24, 2003 #1 pkailas Programmer Jun 10, 2002 555 US How do I change the text color at run time in a textbox?
Feb 24, 2003 #2 RichS Programmer Apr 24, 2000 380 US Private Sub Command1_Click() Me.Text1.ForeColor = vbBlue End Sub Upvote 0 Downvote
Jul 17, 2003 #3 JBlair Programmer May 30, 2003 76 US Is there a way to implement this so that only certain parts of the text are colored? Similar to ANSI coloring? Upvote 0 Downvote
Is there a way to implement this so that only certain parts of the text are colored? Similar to ANSI coloring?
Jul 17, 2003 #4 DrJavaJoe Programmer Oct 3, 2002 2,143 US Use a richtextbox it has a property .SelColor. Upvote 0 Downvote
Jul 17, 2003 #5 JBlair Programmer May 30, 2003 76 US I need a text box that supports background colors as well... I'm thinking to try the vbalRichEdit control Upvote 0 Downvote
I need a text box that supports background colors as well... I'm thinking to try the vbalRichEdit control
Jul 17, 2003 #6 jonybd Programmer Nov 3, 2002 166 BE '========Back/Text color changeing ========' '========When ever you are typeing=========' Private Sub Text1_Change() Text1.BackColor = QBColor(Rnd(3) + 6) Text1.ForeColor = QBColor(Rnd(8) + 5) End Sub Upvote 0 Downvote
'========Back/Text color changeing ========' '========When ever you are typeing=========' Private Sub Text1_Change() Text1.BackColor = QBColor(Rnd(3) + 6) Text1.ForeColor = QBColor(Rnd(8) + 5) End Sub