mishsad

Can I format a richtextbox ( use different colors, fonts and sizes in the same richtextbox ) while designing the project if yes, please how

Thanks



Re: Visual Basic Language richtextbox formatting

TilakGopi

Play with it's properties like, BackColor,Font,ForeColor etc.

Thanks,

Ch.T.Gopi Kumar.






Re: Visual Basic Language richtextbox formatting

mishsad

thanks, but i want to use different colors and sizes in the same richtextbox, for example, the first line is red , the second is black.

like this : use different colors and sizes






Re: Visual Basic Language richtextbox formatting

mishsad

thanks, but those example are for c#

i want to format while desining.





Re: Visual Basic Language richtextbox formatting

JohnWein

You probably want to write a custom control to get what you want. Inherit the RichTextBox and modify it to you needs.