Print Page | Close Window

deselect the item while click empty space?

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=24016
Printed Date: 14 June 2025 at 1:05pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: deselect the item while click empty space?
Posted By: plato
Subject: deselect the item while click empty space?
Date Posted: 07 July 2020 at 8:38am
Hi,all
How to deselect the CXTPReportCtrl item while click in empty space?
Best wishes



Replies:
Posted By: mgampi
Date Posted: 08 July 2020 at 3:25am
Have you tried using CXTPReportControl::GetSelectedRows()->Clear() followed by CXTPReportControl::RedrawControl()?


-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022


Posted By: Fredrik
Date Posted: 09 July 2020 at 12:18pm
Think it is SetFastDeselectMode(true) you are looking for.

-------------
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0



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