Home > Microsoft .Net Development Tips > .NET Developer > Deploying ToolTipText effectively for end users
Win Development Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

.NET DEVELOPER

Deploying ToolTipText effectively for end users


Doug Clarke
10.29.2005
Rating: -3.60- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


This tip originally appeared on VBCode.com. Please let others know how useful it is via the rating scale at the end of the tip. Do you have a useful VB, .NET or Visual Studio tip or code to share? Send it in.


I have always had a love/hate relationship with ToolTips. I like them as a method of conveying simple help information to an application user but realize that, by default, they are small and hard to read and that they can become annoying once the user has mastered the application.

Recently I discovered how easy it is to change the characteristics or the ToolTips from the properties/appearance tab of the desktop. Then I realized that by using the tag property of the controls on a form as a backup to the ToolTipText, I could effectively let the user turn ToolTips on and off.

When my applications start, I loop through the controls of a form and copy the ToolTip text for each control into the tag property for that control. Then I check to see if the user wants ToolTips or not from their saved options. If they do not, I loop through the controls and set the ToolTip text to null. If the user changes back to wanting the ToolTips, then I copy the tag to the ToolTip and they become active again.

So far this has worked well. It seems that once in a while the user must restart the program to get the new setting to work, but that seems like a very small trade-off.

Rate this Tip
To rate tips, you must be a member of SearchWinDevelopment.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
.NET Developer
How to speed up Visual Studio 2008's slow WPF designer
How to list fonts in WPF using markup extensions and data templates
How to convince management to buy Microsoft Visual Studio 2008
Microsoft webcast series previews new Visual Studio 2010 features
New features in Windows 7 bring new UI considerations for developers
User Account Control (UAC): How to develop code for standard users
Introduction to Vista's user account control (UAC) for developers
Visual Studio 2008 code metrics tools will help keep code clean
Downloadable MSDN library released for VS 2008 SP 1
Widgetbox provides good example of how to use Facebook Developer Toolkit

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Database Programming Solutions - .NET XML, Visual Studio LINQ, ORM .NET
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts