![]() |
SetTopRow |
Post Reply ![]() |
Author | |
sbinder ![]() Groupie ![]() ![]() Joined: 22 November 2004 Location: Austria Status: Offline Points: 76 |
![]() ![]() ![]() ![]() ![]() 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?
|
|
![]() |
|
mdoubson ![]() Senior Member ![]() ![]() Joined: 17 November 2008 Status: Offline Points: 1705 |
![]() ![]() ![]() ![]() ![]() |
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()?
|
|
![]() |
|
sbinder ![]() Groupie ![]() ![]() Joined: 22 November 2004 Location: Austria Status: Offline Points: 76 |
![]() ![]() ![]() ![]() ![]() |
Index is changed! AdjustScrollBars() and SetScrollPos() are called in SetTopIndex()....
|
|
![]() |
|
mdoubson ![]() Senior Member ![]() ![]() Joined: 17 November 2008 Status: Offline Points: 1705 |
![]() ![]() ![]() ![]() ![]() |
How you delete record?
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |