Click here to Skip to main content
15,924,452 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: how to use a variable value to call a class Pin
Turquoise7427-Oct-08 23:55
Turquoise7427-Oct-08 23:55 
QuestionVista glass efect in vb.net Pin
d3nika27-Oct-08 3:42
d3nika27-Oct-08 3:42 
AnswerRe: Vista glass efect in vb.net Pin
Dave Kreskowiak27-Oct-08 11:06
mveDave Kreskowiak27-Oct-08 11:06 
AnswerRe: Vista glass efect in vb.net Pin
Thomas Stockwell28-Oct-08 5:13
professionalThomas Stockwell28-Oct-08 5:13 
QuestionAdding new text file lines from another text file Pin
Member 425133526-Oct-08 20:26
Member 425133526-Oct-08 20:26 
AnswerRe: Adding new text file lines from another text file Pin
Ashfield26-Oct-08 22:34
Ashfield26-Oct-08 22:34 
QuestionHow can I show an image on Tooltip Pin
quyphidao@gmail.com26-Oct-08 20:17
quyphidao@gmail.com26-Oct-08 20:17 
AnswerRe: How can I show an image on Tooltip [modified] Pin
Shyam Bharath27-Oct-08 1:33
Shyam Bharath27-Oct-08 1:33 
Why are you crying?

Simple. You can capture the MouseEnter event, and show a form in that event. In that event, make sure the Left, Top of form coincides appropriately with that of the Control. The form can consist of the PictureBox (which can be used to show the image according to the control. This can be done by setting a Public Shared variable of the parent form and changing the value to the appropriate image url) and other controls for working with the image.

And on MouseLeave you just close the form.

Make sure you make the form looks like a splash screen by changing her properties. BTW you can as well use a PictureBox control directly if you don't want the tooltip to be visible outside your form. I just thought of a more general case when user can probably perform some operations on the image.

-------------------------------------------
It's code that drives you - Shyam

modified on Monday, October 27, 2008 8:09 AM

GeneralRe: How can I show an image on Tooltip Pin
quyphidao@gmail.com27-Oct-08 14:42
quyphidao@gmail.com27-Oct-08 14:42 
GeneralRe: How can I show an image on Tooltip Pin
Meer Osman Ali27-Oct-08 19:14
Meer Osman Ali27-Oct-08 19:14 
GeneralRe: How can I show an image on Tooltip Pin
quyphidao@gmail.com28-Oct-08 14:57
quyphidao@gmail.com28-Oct-08 14:57 
QuestionHex Code Pin
pdnet26-Oct-08 20:06
pdnet26-Oct-08 20:06 
AnswerRe: Hex Code Pin
Ashfield26-Oct-08 22:31
Ashfield26-Oct-08 22:31 
GeneralRe: Hex Code Pin
Shyam Bharath27-Oct-08 1:24
Shyam Bharath27-Oct-08 1:24 
GeneralRe: Hex Code Pin
Guffa27-Oct-08 4:22
Guffa27-Oct-08 4:22 
GeneralRe: Hex Code Pin
Jon_Boy27-Oct-08 4:33
Jon_Boy27-Oct-08 4:33 
GeneralRe: Hex Code Pin
Guffa27-Oct-08 6:55
Guffa27-Oct-08 6:55 
AnswerRe: Hex Code Pin
Guffa26-Oct-08 22:48
Guffa26-Oct-08 22:48 
GeneralRe: Hex Code Pin
Shyam Bharath27-Oct-08 1:20
Shyam Bharath27-Oct-08 1:20 
GeneralRe: Hex Code Pin
Steven J Jowett27-Oct-08 10:54
Steven J Jowett27-Oct-08 10:54 
AnswerRe: Hex Code Pin
Smithers-Jones27-Oct-08 0:09
Smithers-Jones27-Oct-08 0:09 
GeneralRe: Hex Code Pin
pdnet29-Oct-08 19:58
pdnet29-Oct-08 19:58 
AnswerRe: Hex Code Pin
Jon_Boy27-Oct-08 1:54
Jon_Boy27-Oct-08 1:54 
AnswerRe: Hex Code Pin
Dave Kreskowiak27-Oct-08 2:05
mveDave Kreskowiak27-Oct-08 2:05 
AnswerRe: Hex Code Pin
Paul Conrad27-Oct-08 4:58
professionalPaul Conrad27-Oct-08 4:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.