Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - SetTopRow
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SetTopRow

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

Joined: 22 November 2004
Location: Austria
Status: Offline
Points: 76
Post Options Post Options   Thanks (0) Thanks(0)   Quote sbinder Quote  Post ReplyReply Direct Link To This Post Topic: SetTopRow
    Posted: 30 November 2009 at 7:27am

I use 13.2.1 (it's okay in 13.1.0):

When I delete some record in my ReportControl and then call SetTopRow (same row as before) the top row is okay but the scrollbar stays at top. Is this a bug in 13.2.1?
 
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 30 November 2009 at 11:17am
Check CXTPReportControl::SetTopRow(int nIndex) code please - if index not changed - no action! React in your app in this case - may be RedrawControl() or AdjustScrollBars()?
Back to Top
sbinder View Drop Down
Groupie
Groupie
Avatar

Joined: 22 November 2004
Location: Austria
Status: Offline
Points: 76
Post Options Post Options   Thanks (0) Thanks(0)   Quote sbinder Quote  Post ReplyReply Direct Link To This Post Posted: 01 December 2009 at 3:18am
Index is changed! AdjustScrollBars() and SetScrollPos() are called in SetTopIndex()....
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 02 December 2009 at 5:04pm
How you delete record?
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.