Tuesday, September 21, 2004

 

ToolTip in Windows

Well if you have been doing Web development for a long time in .Net now, if
you switch to windows it would pretty much possible for you to search for
the standard ToolTip property for all the controls and guess what you won't
find it... :-)
Windows UI is much more richer than web and so the windows controls try to
leverage that... For this reason there is a special ToolTip control which is
provided to you in the windows environment which you can associate with any
of your controls...
Now what are some of its advantages the code below will tell you:

ToolTip mvmTip = new ToolTip();
mvmTip.InitialDelay = 1500;
mvmTip.ReshowDelay = 1000;
mvmTip.SetToolTip(this.txtZipCode, "You need to provide a zip code only
if you are in US or Canada");

Similarly you also have GetToolTip() method... Well so go ahead and try
explore more on the ToolTip control...


With Best Regards,
Mitesh Mehta
Email : miteshvmehta@gmail.com
http://cc.1asphost.com/miteshvmehta/

Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?