Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Add tag to a shape of a Flowchart (Read 2618 times)
bhanuprakash007
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 23
Joined: Sep 29th, 2009
Add tag to a shape of a Flowchart
Sep 30th, 2009 at 1:08pm
Print Post  
Hi,

    Can u Suggest how to add a tag to a shape of a flowchart.For eample. When I right click on the shape of a flowchart it wil give the options like Copy,Paste etc.Please send me the code if u have.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Add tag to a shape of a Flowchart
Reply #1 - Sep 30th, 2009 at 2:51pm
Print Post  
Hi,

Set the node.Tag property if using ImageMap mode, or call node.setTag() on the client side in JavaApplet mode. You could show a context menu from a JavaScript function assigned to NodeClickedScript.

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


I love YaBB 1G - SP1!

Posts: 23
Joined: Sep 29th, 2009
Re: Add tag to a shape of a Flowchart
Reply #2 - Sep 30th, 2009 at 5:05pm
Print Post  
Hi,

     Thank You For Ur reply.Actually Iam using the shape nodes in that we will get the different shapes like cirlce,rectangle etc.For those I have to kept the tag.Iam giving the code below


Dim diagram As Diagram = diagramView.Diagram
           diagram.SelectAfterCreate = False
           Dim start As ShapeNode = diagram.Factory.CreateShapeNode(10, 10, 20, 15)
           start.Shape = Shapes.Start
           start.Text = "Start"


Can u Please suggest me in the code how can I kept the tag for the shape nodes
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint