UltraWinGrid: AfterRowUpdate event on form close?

I'm using an Infragistics UltraWinGrid control on a VB.NET Windows form.  I need to take action when a row is updated, so I'm using the AfterRowUpdate event.  It fires correctly when I navigate from row to row in my grid.  But when I change a row and then close the form, AfterRowUpdate does NOT fire before the form closes?!

What can I do to detect a row update and take action before the form closes?
jahooperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LearnedCommented:
I don't have that control, but does it have something like Finish, Complete, EndEdit, Close or something to that affect that will finish the edit before the form is closed?

Bob
jahooperAuthor Commented:
Unfortunately, no...  There's a Leave, but I can't get anything to fire when I close the form!
RJeyaPrakashCommented:
try this
 set focus to some other control..

RJeyaPrakashCommented:
set focus to some other control before closing the form

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jahooperAuthor Commented:
That did it!  I should have thought of that, but I'm glad you did...

My form just had the datagrid, so I just added a dummy checkbox...  Had to leave it visible for focus to work, so I just set Width = 0...

Me.chkDummy.Focus() fires the AfterRowUpdate event in my UltraWinGrid (assuming a change on a grid row)...

Bingo!  Thanks...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.