J
JimiiZ
Access 2003, Windows XP
I have never had problems with Focus and making items .visible = False. have
a tab control that I want to hide at times but get an error that it still has
focus. I transfer focus to main form combo box first but it still gives me
the error. I used conditional formatting to change background colors to
yellow when they have focus so I know the focus is in the main form but still
get error 2165 You cant hide a control that has focus......
Then I tried to use the Got Focus event for the combo_box
Private Sub C_Type_GotFocus()
[Form_F CostWorks].Network_Users.Visible = False
End Sub
I still get the 2165 You cant hide a control that has focus......
Any thoughts, this is killing me........
I have never had problems with Focus and making items .visible = False. have
a tab control that I want to hide at times but get an error that it still has
focus. I transfer focus to main form combo box first but it still gives me
the error. I used conditional formatting to change background colors to
yellow when they have focus so I know the focus is in the main form but still
get error 2165 You cant hide a control that has focus......
Then I tried to use the Got Focus event for the combo_box
Private Sub C_Type_GotFocus()
[Form_F CostWorks].Network_Users.Visible = False
End Sub
I still get the 2165 You cant hide a control that has focus......
Any thoughts, this is killing me........