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 » RemoveLast() crash when cell selected
RemoveLast() crash when cell selected [message #12509] Tue, 06 November 2007 20:17 Go to previous message
nixnixnix is currently offline  nixnixnix
Messages: 415
Registered: February 2007
Location: Kelowna, British Columbia
Senior Member
Hi Daniel,

I use the same grids to show gridded data from different objects depending on the selection within a droplist. These objects have a different number of rows so when I move from one object to another I RemoveLast() to fit the rows to the current object like this.

m_grid.RemoveLast(m_grid.GetCount()-1);

Which is fine and should always work. However, when a cell is selected, it crashes and I suspect this is something you want to know about. There does not appear to be an Unselect() method by which to stop this crash. Any ideas?


Cheers,

Nick

p.s. will come back on the other thread when I have a test case.

[Updated on: Tue, 06 November 2007 20:21]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Row numbering inconsistency
Next Topic: Howto: Row Aggregation for ArrayCtrl
Goto Forum:
  


Current Time: Mon May 06 01:42:42 CEST 2024

Total time taken to generate the page: 0.02525 seconds