Default focus row problem |
Post Reply |
Author | |
fatbone77
Newbie Joined: 10 January 2007 Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 10 January 2007 at 10:50pm |
I have a frequently updated table. when user navigating the table by sliding scollbar, the table jumps back to first row when an update on the table occurs.
btw, i'm using V10.4. |
|
larryp
Groupie Joined: 15 January 2005 Location: United States Status: Offline Points: 61 |
Post Options
Thanks(0)
|
You code try something like the following:
// ***** Do your table update here ******* GetReportCtrl().SetTopRow ( nTopRowIndex ); Although, if the table update occurred before the top row being displayed you might slightly be off. But you know how many rows would be added so you could offset accordingly.
-- Larry
|
|
fatbone77
Newbie Joined: 10 January 2007 Status: Offline Points: 8 |
Post Options
Thanks(0)
|
thank for your reply very much. That might solve my problem. but this should be done on case-by-case base. why need a default focus row, when nobody click on the rows? just like normal list-control under windows.
|
|
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 |