Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Is there a "Select All" function
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Is there a "Select All" function

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


Joined: 30 September 2005
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tange Quote  Post ReplyReply Direct Link To This Post Topic: Is there a "Select All" function
    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.

Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
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.141 seconds.