Hi,
In my form I am changing the border color of textboxes based on their validation state: green = good, red = error.
The process of setting this is done within a function: I'm looping through all texboxes passing the control to a function, checking the value within the function and setting things appropriately.
In my others forms, this all happens when pressing an OK button and seems to work alright (I'm assuming because pressing ENTER give focus to the OK button). However, in another form I'm working on I am checking the value after each key press (TextBox_Change event). Doing it this way, the border does not change (whether valid or not) until I click any other control on the form to take focus away from the text box.
Can I change this behaviour?
Thanks
Bookmarks