I'm creating a simple function and I need to identify the name of the object clicked on, and then collect its top
.
Private Sub sidebar_bt_all_MouseHover(sender As Object, e As EventArgs) Handles sidebar_bt_all.MouseHover
sidebar_bar_hover_animation.Top = sidebar_bt_all.Top
End Sub
In the code above, it is taking the top of the object, but it is referencing the object directly.
What I need is that on any clicked button your% .co_de% is captured and applied to top