Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Box MouseHover Event? (Read 2269 times)
Jake
YaBB Newbies
*
Offline


Dude, Your Getting a Dell!

Posts: 8
Joined: Sep 14th, 2006
Box MouseHover Event?
Oct 11th, 2006 at 5:09pm
Print Post  
Good Day,

I need to display a details dialog/tooltip when a user hovers over a box. I was hoping that I could use formated text in the tooltip but with no such luck. So now I am trying to figure out what Flowchart event I can tap into to let the application know that a user is hovering over a box.

Any help would be super!

Thanks,
Jake
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Box MouseHover Event?
Reply #1 - Oct 11th, 2006 at 5:53pm
Print Post  
Hi,

Add a Timer control to your form, set its interval, and handle the following events:

private void fc_MouseMove(object sender, System.Windows.Forms.MouseEventArgs e)
{
  hoverTimer.Stop();
  hoverTimer.Start();
}

private void hoverTimer_Tick(object sender, System.EventArgs e)
{
  hoverTimer.Stop();

  Point clientPoint = fc.PointToClient(MousePosition);
  PointF docPoint = fc.ClientToDoc(clientPoint);

  Box box = fc.GetBoxAt(docPoint);
  if (box != null)
    box.Text += "beep ";
}

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
mjweyland
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 37
Joined: Apr 2nd, 2007
Re: Box MouseHover Event?
Reply #2 - Apr 9th, 2007 at 5:59pm
Print Post  
Is this box.mousehover event handling something that will be available in future releases of the tool?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Box MouseHover Event?
Reply #3 - Apr 10th, 2007 at 3:25am
Print Post  
We can add some Hover events if you wish so Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint