Hello,
I was wondering if there is a general solution for changing the backcolor of the current control (in which the cursor is) and changing it back to normal when the focus is lost?
I could define a gotfocus and lostfocus event for each control but this is quite a lot of work when I need to do this for hundreds of controls that are in my application.
Is there a way to define a procedure somewhere that applies to all the controls?
I was wondering if there is a general solution for changing the backcolor of the current control (in which the cursor is) and changing it back to normal when the focus is lost?
I could define a gotfocus and lostfocus event for each control but this is quite a lot of work when I need to do this for hundreds of controls that are in my application.
Is there a way to define a procedure somewhere that applies to all the controls?