Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Professional C#, 2nd and 3rd Editions
This is the forum to discuss the Wrox book Professional C#, 3rd Edition by Simon Robinson, Christian Nagel, Karli Watson, Jay Glynn, Morgan Skinner, Bill Evjen; ISBN: 9780764557590
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C#, 2nd and 3rd Editions section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 8th, 2004, 12:35 AM
DAK DAK is offline
Registered User
Join Date: Jan 2004
Location: Rocklin, CA, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Tool Tips in C#

I couldn't find anything in the book on activating tool tips for a form. I found a ToolTips class and examples in the MSDN help, but its a standalone method that refers to "this.components" as the "Form container", but this variable is null at the Form.Load time, so the constructor for ToolTips fails:

     // Create the ToolTip and associate with the Form container.
         ToolTip toolTip1 = new ToolTip(this.components);

--> found some sample code elsewhere and found that I needed to initialize "this.components" - not sure why yet (I'm new at C#) - would have expected the designer to do this:

     this.components = new System.ComponentModel.Container();

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tips for organizing Team Projects? vcohen BOOK: Professional Team Foundation Server ISBN: 0-471-91930-6 0 April 9th, 2007 05:10 PM
how to add tool tips for drop down list ? wlin ASP.NET 2.0 Basics 0 November 20th, 2006 04:12 PM
hints and tips needed Vano2005 C# 6 July 13th, 2005 11:42 AM
How to make Tool Tips when onmouseover bekim Javascript How-To 5 February 2nd, 2005 08:53 AM
How to add tool tips to button control Kevin M VB.NET 2002/2003 Basics 3 October 27th, 2003 01:23 PM

All times are GMT -4. The time now is 06:01 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.