cbuilderer
Programmer
Im using the OnSetEditText event to verify text changes. If something invalid is entered I change the text to a valid value.
The problem is when I change the value, the new value is then highlighted. So if another key press occurs this value gets overridden.
I thought maybe if the TStringGrid received a right key press event then the highlight would go away.
Im trying to limit the cell value to 0..255.
Thanks in advance
The problem is when I change the value, the new value is then highlighted. So if another key press occurs this value gets overridden.
I thought maybe if the TStringGrid received a right key press event then the highlight would go away.
Im trying to limit the cell value to 0..255.
Thanks in advance