Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Tool Tip on a link while mouse over (Read 1565 times)
madhan1
Full Member
***
Offline


FOLLOW NO ONE BUT LEARN
FROM EVERY ONE ..

Posts: 101
Location: India
Joined: Feb 17th, 2010
Tool Tip on a link while mouse over
Jul 19th, 2012 at 4:52am
Print Post  
Dear Stoyan,

          how to display a tool tip on a link while mouse over..
  

if you want something then go and grab it
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Tool Tip on a link while mouse over
Reply #1 - Jul 19th, 2012 at 8:58am
Print Post  
Set the link's ToolTip property.
  
Back to top
 
IP Logged
 
madhan1
Full Member
***
Offline


FOLLOW NO ONE BUT LEARN
FROM EVERY ONE ..

Posts: 101
Location: India
Joined: Feb 17th, 2010
Re: Tool Tip on a link while mouse over
Reply #2 - Jul 19th, 2012 at 10:48am
Print Post  
dear stoyan,

   i have followed this code. it is working fine.

private void diagramView_MouseMove(object sender, MouseEventArgs e)
        {
            Point f = new Point(e.X, e.Y);
            
            
            if (diagram.GetLinkAt(f, 1) != null)
            {
                int link1 = 0;
                DiagramLink dk;
                dk = diagram.GetLinkAt(f, 1, false,ref link1);
                ShapeNode orgin =(ShapeNode) dk.Origin;
                ShapeNode designation = (ShapeNode)dk.Destination;

                dk.ToolTip = "Orgin : " + orgin.PlainText + "    Destination : " + designation.PlainText;
            }            

            
        }
  

if you want something then go and grab it
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint