Popup box
-
Hi, Looking for a bit of help. I have a program that draws a graph and plots some values. What I want to do is when I hover my mouse over one of the values, up pops a box which shows a bit more information. Is this possible or is there a control to do this? Thanks for your help
-
Hi, Looking for a bit of help. I have a program that draws a graph and plots some values. What I want to do is when I hover my mouse over one of the values, up pops a box which shows a bit more information. Is this possible or is there a control to do this? Thanks for your help
how you draw a graph? whether it is on form or on panel on some other controls? i post a article which describe how can you draw a chart using OWC11 .It facilitate you that whenever your mouse is over one of the values then it display related value. See Column Chart[^] may above link help you
Rupesh Kumar Swami Software Developer, Integrated Solution, Bikaner (India) My Company Award: Best VB.NET article of June 2008: Create Column Charts Using OWC11
-
how you draw a graph? whether it is on form or on panel on some other controls? i post a article which describe how can you draw a chart using OWC11 .It facilitate you that whenever your mouse is over one of the values then it display related value. See Column Chart[^] may above link help you
Rupesh Kumar Swami Software Developer, Integrated Solution, Bikaner (India) My Company Award: Best VB.NET article of June 2008: Create Column Charts Using OWC11
-
I draw the graph myself straight on a form. I need something like the way a tooltip box pops up
You'll have to track the mouse (MouseMove) over the control you're using to draw on. Take the coordinates of the mouse and map them to the points on your graph. Say the mouse is sitting at a point on your graph, or anywhere for that matter, like (20,60). What point did you draw at column 20?? Take that information and put it into a ToolTip window or your own small window. When the mouse moves again, recalculate and move the window.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
You'll have to track the mouse (MouseMove) over the control you're using to draw on. Take the coordinates of the mouse and map them to the points on your graph. Say the mouse is sitting at a point on your graph, or anywhere for that matter, like (20,60). What point did you draw at column 20?? Take that information and put it into a ToolTip window or your own small window. When the mouse moves again, recalculate and move the window.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
Cheers mate, Sounds like what I'll have to do. One question. Can I have a my own window without the menu bar stuff at the top, without the minimize/max and exit buttons and so on. Is there a way to hide all the stuff. Thanks for your help
Sure. Checkout the FormBorderStyle property. You can even have a window with no border and title bar. If you want the title bar, look into the ControlBox property.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008