Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic SelectionChanged fired if selection wasnt changed (Read 1643 times)
MUDO
Junior Member
**
Offline



Posts: 90
Joined: Nov 29th, 2008
SelectionChanged fired if selection wasnt changed
May 20th, 2009 at 4:37pm
Print Post  
Hi.

SelectionChanged event is fired also in cases when Im clicking on empty area. Why? Is It normal or

- I have to find something wrong in my class derived from BehaviorBase? In my class Im only overriding SetMouseCursor and StartDraw functions
- any properties of diagram & diagramvie affect this odd behavior

In case of my mistake I can provide code from derived class and settings.

Thx.

...MUDO...
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: SelectionChanged fired if selection wasnt chan
Reply #1 - May 21st, 2009 at 5:28am
Print Post  
Hi,

It happens because clicking on empty area clears the selection, and it raises SelectionChanged even if there were no selected items. We'll add some checks for this.

Stoyan
  
Back to top
 
IP Logged
 
MUDO
Junior Member
**
Offline



Posts: 90
Joined: Nov 29th, 2008
Re: SelectionChanged fired if selection wasnt chan
Reply #2 - May 21st, 2009 at 7:08am
Print Post  
Hi Stoyo.

Pls let me know, because it is really important for me  Wink
Thx.


...MUDO...
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: SelectionChanged fired if selection wasnt chan
Reply #3 - Jun 4th, 2009 at 11:46am
Print Post  
Hi there,

If you care to try the beta, this version should not raise SelectionChanged when not needed:
https://mindfusion.eu/_beta/fcnet53.zip

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint