Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Arrow shape cursor (Read 3787 times)
thangk48cc
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Jun 13th, 2008
Arrow shape cursor
Jun 13th, 2008 at 4:10am
Print Post  
please help me

how draw cursor in Flowchat
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Arrow shape cursor
Reply #1 - Jun 13th, 2008 at 5:30am
Print Post  
You could change the mouse cursors only in applet mode. What exactly are you trying to do?
  
Back to top
 
IP Logged
 
thangk48cc
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Jun 13th, 2008
Re: Arrow shape cursor
Reply #2 - Jun 13th, 2008 at 8:35am
Print Post  
oh sorry.
i want draw line A to B. line is curve in flowchar
  
Back to top
 
IP Logged
 
thangk48cc
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Jun 13th, 2008
Re: Arrow shape cursor
Reply #3 - Jun 13th, 2008 at 10:33am
Print Post  
i write

Dim point(2) As System.Drawing.PointF
point(1) = New System.Drawing.PointF(10, 10)
point(2) = New System.Drawing.PointF(100, 100)
FlowChartCableRoute.CreateGraphics.DrawCurve(Drawing.Pens.Blue, point)
or i write
FlowChartCableRoute.CreateMeasureGraphics.DrawCurve(Drawing.Pens.Black, point)
or i write
FlowChartCableRoute.CreateGraphics.DrawLine(Drawing.Pens.Black, 2, 2, 10, 10)

why ?when i run it. no display on Screen
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Arrow shape cursor
Reply #4 - Jun 13th, 2008 at 10:46am
Print Post  
You cannot use the Graphics methods to draw over the flowchart. However you could create a Box, set its CustomDraw property to Full, and handle the DrawBox method to render your custom graphics.

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


I love YaBB 1G - SP1!

Posts: 4
Joined: Jun 13th, 2008
Re: Arrow shape cursor
Reply #5 - Jun 14th, 2008 at 2:04am
Print Post  
oh. thanks
but i don't draw shape, which i want draw
. i want to draw same example:
http://www.mind-fusion.com/jdiagram/Routing.htm
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Arrow shape cursor
Reply #6 - Jun 15th, 2008 at 11:55am
Print Post  
You could call CreateArrow(Point, Point) to create an unconnected link, and call its Route() method.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint