![]()  | 
 
Ctrl Select in ReportControl | 
 
    Post Reply  
   | 
  
| Author | |
   
   tobi  
   
   Senior Member  
   Joined: 09 September 2004 Location: Germany Status: Offline Points: 451  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Ctrl Select in ReportControlPosted: 11 January 2010 at 9:33am  | 
 
| 
   
    
   
When I select a reportcontrol row with the mouse while the CTRL key is pressed the row 
   
  only gets the focus rect, but is not selected !? In my configuration the multiselection property is set to false. Is it possible to make it get selected the normal way or can CTRL select disabled so that nothing happens when CTRL is pressed and a row is selected ? I'm using version 13.2.1 !  | 
 |
![]()  | 
 |
   
   tobi  
   
   Senior Member  
   Joined: 09 September 2004 Location: Germany Status: Offline Points: 451  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 15 January 2010 at 10:36am | 
 
| 
   
    
   Any ideas ?
    
   
   | 
 |
![]()  | 
 |
   
   mdoubson  
   
   Senior Member  
   Joined: 17 November 2008 Status: Offline Points: 1705  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 15 January 2010 at 2:25pm | 
 
| 
   
    
   In multi-selection mode (wndReportControl.MultipleSelection = True) Ctrl + Click used as toggle - allow discrete select or unselect row,
 
   
  in single-selection mode (wndReportControl.MultipleSelection = False) Click use as toggle and Ctrl+Click allow to clear selection 
    | 
 |
![]()  | 
 |
   
   tobi  
   
   Senior Member  
   Joined: 09 September 2004 Location: Germany Status: Offline Points: 451  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 15 January 2010 at 3:15pm | 
 
| 
   
    
   Can I change behavior in single selection mode that Ctrl+Click also selects the row clicked ?  
   
  I always need one row to be selected !  | 
 |
![]()  | 
 |
   
   mdoubson  
   
   Senior Member  
   Joined: 17 November 2008 Status: Offline Points: 1705  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 16 January 2010 at 5:54pm | 
 
| 
   
    
   Yes I can but as I like to keep unselect feature I mention - I will try it for special case:
 
   
  wndReportControl.MultipleSelection = False '- this is NOT default for control 
wndReportControl.MultiSelectionMode = True '- this is NOT default for control 
    | 
 |
![]()  | 
 |
   
   mdoubson  
   
   Senior Member  
   Joined: 17 November 2008 Status: Offline Points: 1705  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 16 January 2010 at 11:54pm | 
 
| 
   
    
   Tobi please try your app with updated beta - https://forum.codejock.com/uploads/BetaOCX/ReportControlBeta13-2-2.rar 
    
   
   | 
 |
![]()  | 
 |
   
   tobi  
   
   Senior Member  
   Joined: 09 September 2004 Location: Germany Status: Offline Points: 451  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 20 January 2010 at 9:06am | 
 
| 
   
    
   Hi Mark, 
   
  setting MultiSelectionMode to True with your last beta does exactly what I need ![]() Please implement it in next release !!! When can we expect next release ? Thanks a lot  | 
 |
![]()  | 
 |
   
   mdoubson  
   
   Senior Member  
   Joined: 17 November 2008 Status: Offline Points: 1705  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 20 January 2010 at 9:35am | 
 
| 
   
    
   I hope - next week. I also add new optional flag - FastDeselectMode (default - False).
 
   
  If True - click on empty space in report's bottom or right part (left for RTL case) will deselect all - like Windows Explorer or List Control without Full Row Selection style 
    | 
 |
![]()  | 
 |
   
   mdoubson  
   
   Senior Member  
   Joined: 17 November 2008 Status: Offline Points: 1705  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 20 January 2010 at 7:09pm | 
 
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |