0
Opa, I am creating a simple function and in it I need to identify the name of the clicked object, and from there collect your 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’s taking the top of the object, but it’s referencing the object directly.
What I need is for any button clicked to be captured your .top
and applied in sidebar_bar_hover_animation