HOWTO select prev/next row after RemoveRecordEx |
Post Reply |
Author | |
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
Posted: 03 April 2008 at 6:14am |
Hi;
does anyone know how to select the previous/next row after a call to RemoveRecordEx. I don't know how to get the previous row of a given row...
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
Hi;
ignore it, I found the solution by myself:
Just using GetRows()->GetNext(), GetRows()->GetPrev().
BTW: I'm wondering why GetNext/GetPrev returns the pointer to the same record if only one record/row is contained in the control. Shouldn't it return NULL in this case?
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
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 |