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  |
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
|
|
|
|
|
Goto Forum:
Current Time: Sat Apr 26 21:55:08 CEST 2025
Total time taken to generate the page: 0.00800 seconds
|