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 ControlBox

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 .
For a moment I use this Code
RTBox.Text="NAME:" & rs!name & Chr(10) & "ADRESS:" & rs!adress
I want to see somthing like this:

NAME:(bold)John Smith(italic)
CITY:(bold)London(italic)

Thanks for any sugestion .
 
For information on how to format a rich text box search forum222.

Thread222-419726 should get you started. Thanks and Good Luck!

zemp
 
i need help with a similar problem. is it possible to format certain rows of a combo box? some of my entries are important enough to warrant embolding.

many thanks

i am posting this question in Visual Basic(Microsoft): Version 5 & 6. please would you answer it there?

gusset
 
I don't believe tyhat you can format individual items in a combo box. You may have to look into using an image combo box.

Otherwise you would porbably need a custom Active X control. You can search to see if someone has posted an Active X control that can do or be easily modified to do what you are looking for. Thanks and Good Luck!

zemp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top