hello.
in the following code, i am trying to determine if command button has the focus:
Private Sub lstOrg_LostFocus()
If Me.cmdEditOrgProfile_GotFocus() Then
Exit Sub
Else
Me.cmdEditOrgProfile.Enabled = False
End If
End Sub
the second line returns error.
how would i know if a control has the focus? google search does not return the answer i am seeking
in the following code, i am trying to determine if command button has the focus:
Private Sub lstOrg_LostFocus()
If Me.cmdEditOrgProfile_GotFocus() Then
Exit Sub
Else
Me.cmdEditOrgProfile.Enabled = False
End If
End Sub
the second line returns error.
how would i know if a control has the focus? google search does not return the answer i am seeking
