Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Adjust Row Count when Virtual Mode ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Adjust Row Count when Virtual Mode ?

 Post Reply Post Reply
Author
Message
czlai View Drop Down
Groupie
Groupie
Avatar

Joined: 18 December 2006
Location: Taiwan
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote czlai Quote  Post ReplyReply Direct Link To This Post Topic: Adjust Row Count when Virtual Mode ?
    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.
Back to Top
czlai View Drop Down
Groupie
Groupie
Avatar

Joined: 18 December 2006
Location: Taiwan
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote czlai Quote  Post ReplyReply Direct Link To This Post 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.
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.188 seconds.