Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Problem adding selection area to selection (Read 1366 times)
roger
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 1
Joined: Aug 2nd, 2007
Problem adding selection area to selection
Aug 2nd, 2007 at 9:38am
Print Post  
Hi,

whenever i ctrl-drag a rectangle to add some elements to the current selection, the previously selected elements get deselected, and only the new dragged-over ones get selected.

is there any property to fix this?

thanks in advance
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Problem adding selection area to selection
Reply #1 - Aug 2nd, 2007 at 9:54am
Print Post  
Hi,

You could save a collection of all selected items in the MouseDown handler when you detect that the Ctrl key is held down. Add again the saved items to the selection in the handler of the SelectionChanged event raised next. Use some boolean flag to prevent reentrancy in SelectionChanged.

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