Does anyone know of a function that will detect the change of focus of a control on a form and then set the backcolour of the control. I know about lost and got focus but this is for a large application with about 30 forms and that means for ever control i must write two function. Anyone know a better way to do it. This is what I am trying to do
I am trying to write a function for forms that contain textboxes, combo boxes and checkboxes. I want to make the backcolour of the control that has focus blue and white for the other controls. Or basically want to set it to blue when it has focus and white when it loses focus without having to do the lost and got focus for each control.
Is there a generic function that I could use
Thanks Always
Faztech FAZTECH
I am trying to write a function for forms that contain textboxes, combo boxes and checkboxes. I want to make the backcolour of the control that has focus blue and white for the other controls. Or basically want to set it to blue when it has focus and white when it loses focus without having to do the lost and got focus for each control.
Is there a generic function that I could use
Thanks Always
Faztech FAZTECH