M
mphotographer via AccessMonster.com
On my form I have 4 command buttons, two as searches and two as print actions,
that have procedures that start "on click." My problem is that when I click
the button does not rebound. In order for it to pop back up I must click it
again which starts the process again. I have tried these as "on mouse down"
actions as well with same results. Is there a way that when I click these
buttons the first time it will automatically rebound?
Here is my coding for one of the buttons.
Private Sub Toggle50_MouseDown(Button As Integer, Shift As Integer, X As
Single, Y As Single)
If IsNull(File_Ref) Or File_Ref = "" Then
Me.FilterOn = False
Me.Filter = ""
Else
Me.Filter = "[File] like '*" & File_Ref & "*'"
Me.FilterOn = True
End If
End Sub
that have procedures that start "on click." My problem is that when I click
the button does not rebound. In order for it to pop back up I must click it
again which starts the process again. I have tried these as "on mouse down"
actions as well with same results. Is there a way that when I click these
buttons the first time it will automatically rebound?
Here is my coding for one of the buttons.
Private Sub Toggle50_MouseDown(Button As Integer, Shift As Integer, X As
Single, Y As Single)
If IsNull(File_Ref) Or File_Ref = "" Then
Me.FilterOn = False
Me.Filter = ""
Else
Me.Filter = "[File] like '*" & File_Ref & "*'"
Me.FilterOn = True
End If
End Sub