|
|
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  |
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
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sun Apr 27 22:24:53 CEST 2025
Total time taken to generate the page: 0.01124 seconds
|
|
|