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 » GridCtrl crash when cancel insert/update
GridCtrl crash when cancel insert/update [message #12382] Sat, 27 October 2007 03:18 Go to previous message
bkvt99 is currently offline  bkvt99
Messages: 2
Registered: October 2007
Junior Member
Hi!

Playing with GridCtrl i found a bug in the GridCtrl behavior causing it to crash with `assertion failure` exception. Canceling insert/update and showing exclamation dialog causes strange focusing/input behavior and can lead to crash.

it is easy to reproduce with the attached sample.

how to:
push `append` button on grid toolbar, do not enter anything, just click on the grid below that lone line, that will cause call to OnInsert() which calls to grid' CancelInsert() and shows an exclamation dialog. the exclamation dialog is on top but the grid still has focus and can receive keyboard & mouse input. now press escape key - the lone grid line disappears. and now click on exclamation dialog' `ok` button.

oops! here we get the crash.

Tested with Upp 709-dev1.

Any ideas ?

Bob.

[Updated on: Sat, 27 October 2007 03:22]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: Sizable in x-direction only
Next Topic: Selecting a cell in gridctrl
Goto Forum:
  


Current Time: Tue May 14 11:53:24 CEST 2024

Total time taken to generate the page: 0.02234 seconds