briancoats
Programmer
This is interesting,
If I were to wish to do a GotFocus methos this will work for any control.
Me.ActiveControl.BackColor = Yellow 'Yellow is Defined Constant
Now here is ther kicker. If I want to do a LostFocus method, is there a line of code that will work for all controls. Given:
Private Sub MyControl_LostFocus()
'is there a command that will tell me what control fired
'Off this Method so that I can use the same code in all
'LostFocus Methods
End Sub
Thanks you for your help (Though I am not convinced that there is an answer.)
Brian Coats
If I were to wish to do a GotFocus methos this will work for any control.
Me.ActiveControl.BackColor = Yellow 'Yellow is Defined Constant
Now here is ther kicker. If I want to do a LostFocus method, is there a line of code that will work for all controls. Given:
Private Sub MyControl_LostFocus()
'is there a command that will tell me what control fired
'Off this Method so that I can use the same code in all
'LostFocus Methods
End Sub
Thanks you for your help (Though I am not convinced that there is an answer.)
Brian Coats