I'm trying to create a highly interactive DataGridView using VB.net 2.0. This is a lot of work. I would like to be able to commit & save changes made to a text box when a user enters a value and leaves the text box without pressing {tab} or {Enter} or drop down list box when a user clicks on the desired option and leaves the drop down list box withour pressing {Tab} or {Enter} key.
I'm using the CellBeginEdit event to set a property DGVIsDirty when the user enters a text box or drop down list box, so I know the user has made (or is about to make) an edit/entry. If the user presses the {Enter} or {Tab} key the entry is committed and saved, However if the user clicks out of the DGV, the data is not saved. I will be on the phone for the rest of my life supporting users if the user is forced to press {Enter} or {Tab}.
HELP! HELP! VB.net is putting me in the Nut House.
Start Free Trial