![]() |
BUG: RemoveRecordEx and selection |
Post Reply ![]() |
Author | |
mgampi ![]() Senior Member ![]() ![]() Joined: 14 July 2003 Status: Offline Points: 1206 |
![]() ![]() ![]() ![]() ![]() Posted: 07 September 2016 at 9:56am |
Hi;
When calling RemoveRecordEx that is part of the selected Rows the Row is not removed from the selected rows collection! In my case I'm selecting all rows (block selection) and then call RemoveRecordEx() for every row->GetRecord() record. There is no Populate() call inbetween. Afterwards when calling GetSelectedRows()->GetCount() it retuns the previous selected row count. For me it seems as if the block selection information (if there is one) is not updated in this case. Anyway, it leads to some strange side effects. BTW: I'm using XTP 17.2 How can I fix this? |
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
olebed ![]() Senior Member ![]() Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
![]() |
|
mgampi ![]() Senior Member ![]() ![]() Joined: 14 July 2003 Status: Offline Points: 1206 |
![]() ![]() ![]() ![]() ![]() |
Thanks,
I'll give it a try tomorrow, and come back with the results. |
|
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 |