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

Ctrl Select in ReportControl

 Post Reply Post Reply
Author
Message
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Topic: Ctrl Select in ReportControl
    Posted: 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 !
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Posted: 15 January 2010 at 10:36am
Any ideas ?
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post 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 !
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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 
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 20 January 2010 at 7:09pm
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.203 seconds.