Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Selection rectangle is not visible (Read 1401 times)
kaykay15
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 43
Joined: Mar 11th, 2010
Selection rectangle is not visible
Apr 22nd, 2010 at 10:21am
Print Post  
Hello Team,

When the diagram behavior is in modify mode, when i try to select multiple nodes, the selection rectangle is drawn behind  the diagram as show in the below link

http://docs.google.com/leaf?id=0B4xAPIW5oeouOGM4ZThiOWYtMjM4OC00YjI2LTkyNDItNDhk...

how do i get that selction rectangle above the diagram so that the user is aware that he is selecting some nodes.


Thanks,
-KayKay
  

Thanks,&&-KayKay
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Selection rectangle is not visible
Reply #1 - Apr 22nd, 2010 at 11:18am
Print Post  
Use this workaround for now:

Code
Select All
private void diagram_MouseMove(object sender, MouseEventArgs e)
{
	var diagVisuals = diagram.DocumentPlane.Children;
	var selectionRect = diagVisuals[diagVisuals.Count - 1] as Rectangle;
	if (selectionRect != null)
		Canvas.SetZIndex(selectionRect, 100000);
} 



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