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 » App crashes when remove rows in WhenChangeRow-callback
App crashes when remove rows in WhenChangeRow-callback [message #26299] Thu, 22 April 2010 21:22 Go to next message
Sc0rch is currently offline  Sc0rch
Messages: 99
Registered: February 2008
Location: Russia, Rubtsovsk
Member

Hello!

Please, help. Application (with GridCtrl) crashes when I try to remove rows while executing WhenChangeRow-callback (hitems - out of range, I think).

I need to change the content of tables after changing the concrete cell.

Sorry for my English,
Best regards!
Anton
Re: App crashes when remove rows in WhenChangeRow-callback [message #26300 is a reply to message #26299] Thu, 22 April 2010 23:28 Go to previous message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

Sc0rch wrote on Thu, 22 April 2010 15:22

Hello!

Please, help. Application (with GridCtrl) crashes when I try to remove rows while executing WhenChangeRow-callback (hitems - out of range, I think).

I need to change the content of tables after changing the concrete cell.

Sorry for my English,
Best regards!
Anton

This is one of those cases I have never been thinking of Smile
Please put a test case here if that's not a problem so I could easily see your intentions and find a cure. Generally you shouldn't insert or delete rows in insert/delete/change callbacks as they are called inside grid's insert/delete/change flow and in such a case only bad things can happen Smile

[Updated on: Thu, 22 April 2010 23:29]

Report message to a moderator

Previous Topic: Set GridCtrl read only when editing
Next Topic: Is it possible to ebmed Ctrl into row (not cell) inside ArrayCtrl?
Goto Forum:
  


Current Time: Thu Mar 28 18:09:04 CET 2024

Total time taken to generate the page: 0.01797 seconds