Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 10 Replies) Require Selection Box around selected nodes (Read 7520 times)
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Require Selection Box around selected nodes
Apr 8th, 2009 at 8:25am
Print Post  
Hi,

When I select nodes using mouse drag,I need a selection box over them.

Thanks,
Anshul
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Require Selection Box around selected nodes
Reply #1 - Apr 8th, 2009 at 10:43am
Print Post  
Try with diagram.Selection.Style = SelectionStyle.Frame;

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Re: Require Selection Box around selected nodes
Reply #2 - Apr 9th, 2009 at 11:01am
Print Post  
I have tried this one,it is somehow correct but not exactly.
Framesize is too large.when i select only two nodes, at that time also frame covers all the nodes which are at the bottom of the selected node.
I want framesize=area coverd by mouse selection to select the nodes.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Require Selection Box around selected nodes
Reply #3 - Apr 9th, 2009 at 12:37pm
Print Post  
This looks like a bug. We'll fix it in the next few days.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Require Selection Box around selected nodes
Reply #4 - Apr 14th, 2009 at 11:17am
Print Post  
This version fixes SelectionStyle.Frame:
https://mindfusion.eu/_beta/wpfdiag_selstyle.zip

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Re: Require Selection Box around selected nodes
Reply #5 - Apr 14th, 2009 at 1:32pm
Print Post  
Nops, its not working...
problem is still same  Cry
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Require Selection Box around selected nodes
Reply #6 - Apr 14th, 2009 at 2:51pm
Print Post  
Do the new dll files appear under bin/debug after you rebuild?
  
Back to top
 
IP Logged
 
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Re: Require Selection Box around selected nodes
Reply #7 - Apr 14th, 2009 at 3:56pm
Print Post  
obiviously yes Smiley
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Require Selection Box around selected nodes
Reply #8 - Apr 14th, 2009 at 5:08pm
Print Post  
You might have the reference path pointing to an older version of the assemblies. Is the modification date of bin/debug/Diagramming.Wpf.Dll the same as the one from the zip file? The project might be using the older version also if the "use specific version" attribute is selected for the reference.
  
Back to top
 
IP Logged
 
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Re: Require Selection Box around selected nodes
Reply #9 - Apr 18th, 2009 at 7:34am
Print Post  
Nop, I have checked its still not working Sad
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Require Selection Box around selected nodes
Reply #10 - Apr 18th, 2009 at 7:39am
Print Post  
Exactly what is not working? These dlls fix a bug where the selection frame was not calculated correctly as the union of the bounding rectangles of all selected nodes. Is the selection frame size still set incorrectly, or there is something else you don't like?
  
Back to top
 
IP Logged
 
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Re: Require Selection Box around selected nodes
Reply #11 - Apr 19th, 2009 at 7:09am
Print Post  
selection frame size still set incorrectly.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Require Selection Box around selected nodes
Reply #12 - Apr 20th, 2009 at 6:28am
Print Post  
Email us a project that shows how it's not working, along with the diagramming.dll assembly in bin/debug.
  
Back to top
 
IP Logged
 
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Re: Require Selection Box around selected nodes
Reply #13 - Apr 20th, 2009 at 2:25pm
Print Post  
I have sent you a test project.Please check where is the problem.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Require Selection Box around selected nodes
Reply #14 - Apr 21st, 2009 at 9:32am
Print Post  
You are still using an older version of the control. The one in your bin/debug folder is from the 13th of February. The one I posted above is form the 14th of April. Remove the old diagramming.dll references from your project, and add references to the files from the zip file. It should work fine then.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint