Visual Basic 2008
Hey i was wondering if it was possilbe to change the colour of text in a textbox through a button in a simple text editor that i am working on
any help would be appreciated.
cheers

Yes, try the following -

Command1_Click()

Text1.ForeColor = vbBlue
Text1.BackColor = vbRed
End Sub

oh yeah thanks mate
:)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.