Feb 24, 2003 #1 pkailas Programmer Joined Jun 10, 2002 Messages 555 Location US How do I change the text color at run time in a textbox?
Feb 24, 2003 #2 RichS Programmer Joined Apr 24, 2000 Messages 380 Location US Private Sub Command1_Click() Me.Text1.ForeColor = vbBlue End Sub Upvote 0 Downvote
Jul 17, 2003 #3 JBlair Programmer Joined May 30, 2003 Messages 76 Location 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 Joined Oct 3, 2002 Messages 2,143 Location US Use a richtextbox it has a property .SelColor. Upvote 0 Downvote
Jul 17, 2003 #5 JBlair Programmer Joined May 30, 2003 Messages 76 Location 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 Joined Nov 3, 2002 Messages 166 Location 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