Print Page | Close Window

Disable Extended Select

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=22248
Printed Date: 30 January 2025 at 5:58pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Disable Extended Select
Posted By: tealduck
Subject: Disable Extended Select
Date Posted: 23 March 2014 at 7:56pm
I am using the Report Control with the MultipleSelection property set to True. However, I do not see a property called SelectionMode (like some grids and lists have) that will allow me to tailor the selection process. Specifically I have the requirement of only allowing the user the ability to select contiguous rows (allow SHIFT but disallow CTRL). Is there any method of doing this with the Report Control through the properties? If not, then could I send a message to the base class to set the selection mode?

Any help would be appreciated.



Replies:
Posted By: jpbro
Date Posted: 24 March 2014 at 9:26am
Try the following when initializing your control properties:


   With Me.ReportControl1.Behavior.Row.MouseDown.LeftButton.Control
      .SelectRow = False
      .FocusRow = False
   End With



-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6



Posted By: tealduck
Date Posted: 24 March 2014 at 8:48pm
Awesome, that worked perfectly.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net