R
RLN
Given the following code:
Private Sub REGION_LostFocus()
'change the label to this foreground/background
'color when the control has focus.
lblRegion.BackColor = 12632256
lblRegion.ForeColor = 8388608
End Sub
Private Sub REGION_GotFocus()
lblRegion.BackColor = 32768
lblRegion.ForeColor = 16777215
End Sub
The above code is for one control.
I'd like to use these for other controls on my form.
Is there a simple way to call these in a module so to eliminate any possible
numeric errors?
Thanks.
Private Sub REGION_LostFocus()
'change the label to this foreground/background
'color when the control has focus.
lblRegion.BackColor = 12632256
lblRegion.ForeColor = 8388608
End Sub
Private Sub REGION_GotFocus()
lblRegion.BackColor = 32768
lblRegion.ForeColor = 16777215
End Sub
The above code is for one control.
I'd like to use these for other controls on my form.
Is there a simple way to call these in a module so to eliminate any possible
numeric errors?
Thanks.