Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » [maybe bug?] Removing last item in arrayctrl
Re: [maybe bug?] Removing last item in arrayctrl [message #39022 is a reply to message #39021] Thu, 07 February 2013 11:15 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3358
Registered: August 2008
Senior Veteran
Hello LeiMing

I think you are right.

When deleting rows in a multiselect ArrayCtrl checks the row list in opposite order.

As it is the last one, it moves the cursor to the previous row. But because the removing order, this row is also deleted, and so on until deleting all rows.

Mirek please check:
- bool ArrayCtrl::DoRemove()
- void ArrayCtrl::Remove(int i)


Best regards
IƱaki

[Updated on: Thu, 07 February 2013 11:16]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Autosizing GridCtrl columns
Next Topic: [Solved albeit ugly] Scrolling messes up GridCtrl in certain condition
Goto Forum:
  


Current Time: Mon Apr 29 14:06:04 CEST 2024

Total time taken to generate the page: 0.02767 seconds