Home Forums WinForms controls Xceed Grid for WinForms Edit Cell Reply To: Edit Cell

User (Old forums)
Member
Post count: 23064

The problem is that DirectCast(e.Control, WinTextBox).TextBoxArea.Text will only give me the previous value in the cell.
So if the cell value is “1” and I add “2”, when the event is raised, the  DirectCast(e.Control, WinTextBox).TextBoxArea.Text will return “1”.
I thought about concatinating the value of the textbox: “1” when the new key that has been selected: “2”, but what happen if the value is “1234” and I select that value and clear it by replacing it with “1” then I would have “12341” and I would only what “1” returned from DirectCast(e.Control, WinTextBox).TextBoxArea.Text.

Do you see my problem?

Imported from legacy forums. Posted by troy@querytool.com (had 1506 views)