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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to display part of tooltip text in bold? 1

Status
Not open for further replies.

EwS

Programmer
Dec 30, 2002
398
US
I have a CellToolTipTextNeeded event for my datagrid.
In there, I'm setting the tooltip text and I want to display part of that text (the word "Package") in bold:
Code:
x.ToolTipText = "Package " & vbTab & Package.Name

Is this possible? Thank you for any help.
 
In Visual Studio 2005 there is the tooltip control. It can have a title (bold) and the message (normal font). But you will not have the format: "Package " & vbTab & Package.Name
You can inherit from the toolitip... and design yours. (extra functionallity, etc..)

Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top