Hi, i have inherited a database to do some development on. the previous developer had written some code in to it that works when the mouse moves over the detail or particular buttons, an example is below.
Private Sub Detail_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Me.modify_property_btn.Visible = True Or Me.new_applicant_btn.Visible = True Or Me.modify_scheme_btn.Visible = True Then
hide_menu_btns
End If
rollovers.reset_all_btns
End Sub
code actions like these are throughout the database, they work fine until an error occurs, i have some error handling to handle other common errors, once these errors are handled it results on further errors based on these mouse movement actions. The only way to get rid of them is to close the particular form im working on at that time.
My question is, how can i put some error handling in that stops these constant frustrating mouse move errors?
Private Sub Detail_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Me.modify_property_btn.Visible = True Or Me.new_applicant_btn.Visible = True Or Me.modify_scheme_btn.Visible = True Then
hide_menu_btns
End If
rollovers.reset_all_btns
End Sub
code actions like these are throughout the database, they work fine until an error occurs, i have some error handling to handle other common errors, once these errors are handled it results on further errors based on these mouse movement actions. The only way to get rid of them is to close the particular form im working on at that time.
My question is, how can i put some error handling in that stops these constant frustrating mouse move errors?