Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic shapenode should be SELECTED after create (Read 1684 times)
saad
Full Member
***
Offline


I Love MindFusion!

Posts: 117
Joined: Oct 8th, 2012
shapenode should be SELECTED after create
Nov 22nd, 2012 at 8:54am
Print Post  
i want the shapenode to be selected after creation

if in nodecreated i do:
Code
Select All
// select shapenode after creation
            shapeNode.Selected = true; 



it does indeed select but only move handle is enabled, other handles show but theyre not functional until the user clicks on the shapenode.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: shapenode should be SELECTED after create
Reply #1 - Nov 22nd, 2012 at 11:11am
Print Post  
It should be enough to set diagram.SelectAfterCreate = true. If setting node.Selected, check if don't get multiple nodes selected this way. Resizing is not supported for multiple selection at this time.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint