Print Page | Close Window

Is there a "Select All" function

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=17376
Printed Date: 15 November 2024 at 4:22pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Is there a "Select All" function
Posted By: Tange
Subject: Is there a "Select All" function
Date Posted: 05 October 2010 at 7:13am

Hello,

 

Posted this question a few days ago, it sat in the forum with a status of "Pending Approval" a then just disappeared. Not sure why however I would like to ask the question again:

 

Is there a function for the report control that acts as a "Select All". When the report control has focus and a Control + A is used it works but there doesn't seem to be a programmatic way to do this other than looping through all the rows and changing the selected status for each. Thanks in advance if anyone has any ideas.




Replies:
Posted By: Aaron
Date Posted: 20 October 2010 at 8:00am
Hi,
 
If you are new to this forum it always takes a while before you get to see your posts. But after a few posts it will be faster Wink
 
About your question... ReportControl doesn't have a method to select all rows except the Ctrl-A with keys. But you are able to use SendKeys method and select all rows with following 2 lines of code:
 
  • Me.wndReportControl.SetFocus 'Make sure RC has focus
  • SendKeys "^a" 
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....



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