Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Moving to last row in Virtual Mode
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Moving to last row in Virtual Mode

 Post Reply Post Reply
Author
Message
snhd View Drop Down
Newbie
Newbie


Joined: 09 July 2006
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote snhd Quote  Post ReplyReply Direct Link To This Post Topic: Moving to last row in Virtual Mode
    Posted: 09 July 2006 at 5:57am

How to move to the last row or stay on the last row regardless of rows being added dynamically ? Any help would be appriciated. Thanks

Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 09 July 2006 at 8:35am
You'll have to update the position from time to time -- whether right after adding of those additional rows, or by some timer event.

.GetNavigator()->MoveLastRow() will do the one-time job.

--
WBR,
Serge
Back to Top
snhd View Drop Down
Newbie
Newbie


Joined: 09 July 2006
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote snhd Quote  Post ReplyReply Direct Link To This Post Posted: 09 July 2006 at 1:06pm
Thanks
 
I knew this could be the one as I was searching for such a thing in EnsureVisible regarding MoveFirst...MoveLast. Unfortunatly I could not locate the GetNavigator Class while it was documented in EnsureVisible.
 
Thanks & Best Regards
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.203 seconds.