Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Disable Extended Select
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Disable Extended Select

 Post Reply Post Reply
Author
Message
tealduck View Drop Down
Newbie
Newbie


Joined: 23 March 2014
Location: Dallas
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote tealduck Quote  Post ReplyReply Direct Link To This Post Topic: Disable Extended Select
    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.
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1354
Post Options Post Options   Thanks (1) Thanks(1)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
tealduck View Drop Down
Newbie
Newbie


Joined: 23 March 2014
Location: Dallas
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote tealduck Quote  Post ReplyReply Direct Link To This Post Posted: 24 March 2014 at 8:48pm
Awesome, that worked perfectly.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.