Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Arrow origin (Read 2572 times)
T.Pascal
Guest


Arrow origin
Feb 24th, 2006 at 6:26am
Print Post  
hi, i'd like to know if it's possible to find the shape name of an arrow origin and destination box when an arrow is created or clicked

if yes, how?


thx.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Arrow origin
Reply #1 - Feb 24th, 2006 at 8:11am
Print Post  
Hi,

Assuming the Style of all boxes is bsShape, the following will let you know their shape identifiers:

Private Sub fcx_ArrowCreated(ByVal arrow As FLOWCHARTLibCtl.IArrowItem)
    Dim os As String
    os = arrow.OriginBox.Shape.ShapeId
   
    Dim ds As String
    ds = arrow.DestinationBox.Shape.ShapeId
   
    arrow.Text = os + " " + ds
End Sub

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
T.Pascal
Guest


Re: Arrow origin
Reply #2 - Feb 24th, 2006 at 8:22am
Print Post  
thx alot stoyo.

But i made a mistake , cause I'm using flowchart.net and not flowchartX  Embarrassed
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint