Hello!
I want to know if there is possible to translate message:
"Unable to update data value: Value in the data editor is not valid" i get when I try to enter value that is not in combobox list and grids columnstyle is set to DropDownValidate.
I am using WinGrid version 8.3. Thank you for your answers
Regards, Gregor
You handle the event like you do any other event, and set the value of the ErrorText property of the ErrorEventArgs to the text you want to display to the user.
Thank you for your quick answer. I already tried to handle CellDataErrorEvent. But in this event CellDataErrorEventArgs e does not have anything useful I can use for translated message. How to use grid's error event I do not know. So maybe if you can help ?
Hi Gregor,
Yes, you have to trap an event. I think you need to use the CellDataError event. If that doesn't work, then try using the grid's Error event. But I'm pretty sure the first one will do what you need.