I have a text field in a grid control where the user can enter a value and then click a button (button is also in the grid control). If the field currently has a value of 5 and the user enters 6 and then clicks on the button, the value of the text field that is read is still 5. Doesn''t clicking on the button causes the text field to lose focus and hence save the value 6?
The user must enter the 6 and then tab to another cell or hit enter to commit the 6 and then hit the button.
How can I fix this problem?