Print Page | Close Window

Adjust Row Count when Virtual Mode ?

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


Topic: Adjust Row Count when Virtual Mode ?
Posted By: czlai
Subject: Adjust Row Count when Virtual Mode ?
Date Posted: 06 December 2007 at 10:23pm
How I can adjust the row count when CXTPReportControl in virtual mode ?
If I reissue SetVirtualMode() and Populate(), the list will refresh and the vertical scroll position reset. It is confused if new record arrival when user is looking the list.



Replies:
Posted By: czlai
Date Posted: 10 December 2007 at 10:46pm
I think I resolve the problem.
CXTPReportControl doesn't provide any mthod to adjust virtual record count.
So, I inherite CXTPReportContrl and overwrite AdjustScrollBars() to adjust vertical scroll bar range.



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