Print Page | Close Window

SetTopRow

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=15747
Printed Date: 05 May 2024 at 8:16pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SetTopRow
Posted By: sbinder
Subject: SetTopRow
Date 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?
 



Replies:
Posted By: mdoubson
Date 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()?

-------------
Mark Doubson, Ph.D.


Posted By: sbinder
Date Posted: 01 December 2009 at 3:18am
Index is changed! AdjustScrollBars() and SetScrollPos() are called in SetTopIndex()....


Posted By: mdoubson
Date Posted: 02 December 2009 at 5:04pm
How you delete record?

-------------
Mark Doubson, Ph.D.



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