Print Page | Close Window

Ctrl Select in ReportControl

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=15982
Printed Date: 26 June 2024 at 12:37pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Ctrl Select in ReportControl
Posted By: tobi
Subject: Ctrl Select in ReportControl
Date 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 !



Replies:
Posted By: tobi
Date Posted: 15 January 2010 at 10:36am
Any ideas ?


Posted By: mdoubson
Date 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


-------------
Mark Doubson, Ph.D.


Posted By: tobi
Date 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 !


Posted By: mdoubson
Date 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


-------------
Mark Doubson, Ph.D.


Posted By: mdoubson
Date 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 - https://forum.codejock.com/uploads/BetaOCX/ReportControlBeta13-2-2.rar  

-------------
Mark Doubson, Ph.D.


Posted By: tobi
Date 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


Posted By: mdoubson
Date 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


-------------
Mark Doubson, Ph.D.


Posted By: mdoubson
Date Posted: 20 January 2010 at 7:09pm
https://forum.codejock.com/uploads/BetaOCX/ReportControlBeta14.rar -
https://forum.codejock.com/uploads/BetaOCX/ReportControlBeta14.rar - https://forum.codejock.com/uploads/BetaOCX/ReportControlBeta14.rar
 



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