I have a main background, home-type form, that I would like to stay up in the background while being able to open up other pop up forms.
That all works fine, I was just trying to find a way to maybe change the background colors for the home form to maybe a more gray scale when it loses focus.
I thought I might try this with the main form's OnDeactivate Event (and then have them change back on the Activate Event) but it doesn't seem to be working. I was wondering if there was a better option for this (or if I'm not doing something correct with the Deactivate)
Example code:
Code:
Private Sub Form_Deactivate()
Forms!frmNewHome.Detail.BackColor = 14277081
Forms!frmNewHome.FormHeader.BackColor = 12566463
Forms!frmNewHome.lblCRDB.ForeColor = 12566463
End Sub