josephwalter
Programmer
I'd like to change the background color of each control on the form as the user tabs through them - in order to highlight where he/she is at on the form.
I know I could code a change in the BackColor property under the GotFocus and LostFocus of each control, but that doesn't feel like the most efficient route.
I thought something in the OnTimer event would work nicely: Change all the controls' BackColor properties to white and then give the control that has the focus a blue background color.
I vaguely remember seeing a code snippet before, but I've had no luck locating it. Can someone provide me a link or the code?
I know I could code a change in the BackColor property under the GotFocus and LostFocus of each control, but that doesn't feel like the most efficient route.
I thought something in the OnTimer event would work nicely: Change all the controls' BackColor properties to white and then give the control that has the focus a blue background color.
I vaguely remember seeing a code snippet before, but I've had no luck locating it. Can someone provide me a link or the code?