Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Diferent Font Style in some RichTextBox

Status
Not open for further replies.

groner

Programmer
May 18, 2002
23
RO
How can I use a diferent Font Style in some RichTextBox or TextBox or , why not , in a other controls .
For example I have a RTBox and I want to write the Title with Bold , and the user text with Italic .
NAME:(bold)
John Smith(italic)
CITY:(bold)
London(italic)
Thanks for any sugestion .
 
i dont beleive u can do that while initiating the text
ie rt.text="John Smith"

but using rt.sel..bold(not quite sure of function name) u can make it to bold at rung time.

Note: the text must be selected.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top