Peter Morris [Droopy eyes Guest
|
Posted: Tue Jul 11, 2006 8:11 am Post subject: DataGrid editing |
|
|
1) Show a form
2) Edit the first column of the first object
3) Do not leave the cell
4) Close the form using the [X] button in the caption
dotnet data binding will only update the object if focus to the cell is
lost, but the [X] button does not cause this to happen until after the form
has closed. As a result my DirtyObjectCatcher does not get the notification
that the object has been made dirty. I think the notification actually
comes in Form.Dispose or something, which is far too late for me.
Is there a way I can tell the form to end all current edits in my Closing
event?
Thanks
--
Pete
====
Audio compression components, DIB graphics controls, ECO extensions,
FastStrings
http://www.droopyeyes.com
My blog
http://blogs.slcdug.org/petermorris/ |
|