Quick Search for:  in language:    
with,fact,only,display,line,tooltips,class,al
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Visual Basic Stats

 Code: 3,014,970. lines
 Jobs: 119. postings

 How to support the site

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for Visual Basic.
Excel Into a webpage
By Bill Donahue on 7/2


Unroll2 - Update
By Cyber Chris on 7/2


MultilinePWD
By Cyber Chris on 7/2


Click here to see a screenshot of this code!Song/Poem Assistant
By Peter Rowan on 7/2

(Screen Shot)

Click here to see a screenshot of this code!GPA Cal
By KBM-00 on 7/2

(Screen Shot)

Click here to see a screenshot of this code!Connection Via the Telephone line.No internet or cable.Just the telephone line
By Nass ClickMan on 7/2

(Screen Shot)

DBTool
By Make Strömberg on 7/2


Click here to see a screenshot of this code!MSChart Simple Example
By Sebastian Pereira on 7/2

(Screen Shot)

CString v1.5
By Ultimatum on 7/2


Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

Multi Line Tooltips

Print
Email
 
winzip icon
Submitted on: 5/9/2000 10:12:26 AM
By: Gordon Robinson 
Level: Advanced
User Rating: By 10 Users
Compatibility:VB 5.0, VB 6.0

Users have accessed this code 7296 times.
 
 
     Are you fed up with the fact that you can only display one line in vb tooltips. This class allows multiple line tooltips. It also allows you to specify the Maximum Width of the tooltip, the delay until it appears, the length of time it is visible and whether the tooltip is centered below the control. I have added support for setting the font that is used as well.
 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzipto decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
3)Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 2 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
5/9/2000 2:38:41 PM:Kenman
Excellent work.  I will be using this 
class for the rest of my natural vb 
programming life - or until MS splits - 
whichever comes first.  :)  Nice job!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/9/2000 4:10:28 PM:siph0n
great example, very easy to use.  
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/10/2000 3:50:00 AM:viztopiaman
Very impressive and easy to implement!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/10/2000 9:06:14 AM:Gordon Robinson
I have added a MaxWidth Property to 
this class to allow users to be able to 
specify the Maximum width of the 
tooltip in pixels.  A CenterTip 
parameter has also been added to the 
AddControl method which will center the 
tooltip below the control.  The sample 
code has been updated to demonstrate 
these changes.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/10/2000 9:43:30 AM:Gordon Robinson
Me Again !!  I have added VisibleTime 
and DelayTime properties to allow users 
to specify how long the tooltip is 
visible for and how long it takes to 
appear.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/12/2000 8:42:57 AM:Tito
I'm looking for a way to change the 
font of a tooltip window using some 
sort of sendmessage command (not sure 
which api function)  anyone out there 
know? - tristan@twcny.rr.com
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/13/2000 7:51:23 PM:John Brandon
Been looking for something like this 
for some time.  Great work!  However, I 
have not been able to use for 
Label.ToolTips.  If I am doing 
something wrong, please let me know.  
Thanks again and keep up the good work.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/21/2000 5:23:19 AM:Gordon Robinson
Thanks to Arkadiy Olovyannikov for 
pointing that this code only worked in 
the IDE.  I have added a call to 
InitCommonControls in the 
class_initialise event to fix this 
problem.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/21/2000 8:52:09 AM:SpoogeMonkey
This is great! I've been looking for 
this for a LONG time. Any idea how to 
change the font?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/21/2000 9:41:26 AM:Gordon Robinson
I have added a property which allows 
users to specify the font that is to be 
used in the tooltips.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/22/2000 11:41:01 PM:Tito
I sent a version of this tooltip class 
with some modifications to gordon, if 
he doesn't post it and anyone wants it 
from me, just email me. it includes 
everything his has, and also more time 
editing, and 
forecolor/backcolor/tooltip text 
changing.. HUGE thanks to gordon for 
showing me how to change tooltip fonts, 
with that.  BTW the tooltip class i 
have has more features than i've seen 
any free-code ones have.. post it 
gordon!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/29/2001 7:51:51 AM:billet
This is just what I needed. Has  any 
one solved Tool Tips for labels or 
combo boxes ? 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/1/2001 5:52:04 AM:H
Great code
Cheers
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/30/2003 5:08:10 PM:
Mr. Robinson,
This is good code. 
However, when I try to run it, I can't 
because I'm missing the 
Tooltiproject.dll that is unique to 
this code. Could you e-mail it to me?  
Did I miss something?  My address is 
mellencolie@yahoo.com
Thanks for you 
help!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/6/2003 4:18:26 PM:
It works pretty OK!
I've updated the 
code with the mods from: 
http://www.experts-exchange.com/Programm
ing/Programming_Languages/Visual_Basic/Q
_10423696.html
Thanks!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/13/2003 2:38:59 PM:
This really must be great. The only 
problem is, VB gives me an error saying 
tooltiproject.dll is missing. please 
e-mail it to me: alex2588@hotmail.com. 
i really want to be able to use this 
code.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Visual Basic Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.