Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic MultiSelection problems (Read 2544 times)
wangqaa
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 24
Joined: May 18th, 2007
MultiSelection problems
Feb 20th, 2008 at 5:14am
Print Post  
Hi,

   In the same flowchart, Some of the boxes
can't multiSelect.  But some of other boxes or arrows can.

    I can't find out what problems. Do you have
some suggestion to check or debug.

thanks,
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: MultiSelection problems
Reply #1 - Feb 20th, 2008 at 7:14am
Print Post  
Hi,

Check whether the boxes are Locked by some chance, and whether changing the Diagram.Selection.IncludeItemsIfIntersect  property makes any difference.

Stoyan
  
Back to top
 
IP Logged
 
wangqaa
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 24
Joined: May 18th, 2007
Re: MultiSelection problems
Reply #2 - Feb 20th, 2008 at 8:17am
Print Post  
I find out the problem or bug.

the code behind set some box as selected.
but the clinet result shows not selected.
I don't know why it not reflect the code behind.
(boxes should view as selected)
but When I don't use the Selected method.
It can use multiselection.

thanks~
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: MultiSelection problems
Reply #3 - Feb 20th, 2008 at 12:51pm
Print Post  
What code behind - are you using our NetDiagram control, or FlowChart.NET loaded in a web page via the html OBJECT element?

Stoyan
  
Back to top
 
IP Logged
 
wangqaa
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 24
Joined: May 18th, 2007
Re: MultiSelection problems
Reply #4 - Feb 20th, 2008 at 11:36pm
Print Post  
Just like below
------------
foreach(Box box in fcTemp.Boxes)
{
    box.Selected=true;
}
------------
We use "FlowChart.NET loaded in a web page via the html OBJECT element"

I exported  fcTemp as xml file and use your demo
tool. It will show right.(all boxes in fcTemp are selected)
but in web page not.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: MultiSelection problems
Reply #5 - Feb 21st, 2008 at 6:51am
Print Post  
If it works fine in the demo, you might compare the FlowChart's properties in the demo with the ones in your web page. There might be several ways to hide the selection handles, for example using HandlesStyle == Custom and not handling the DrawHandles event in the web page, or setting the selection handles color properties to the background / transparent color.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint