All this code does is gets the top position of the Parent panel holding your Item Panel and its views.
This allows you to correctly position your menu panel.
'get the index of the item / row containing the clicked button ..
Dim index As Int = clv1.GetItemFromView(Sender)
'you can now get the top position of the items 'Parent' panel by ..
Dim pnl AsPanel = clv1.panels.Get(index) 'to access 'Panels list from your module, change CLV Class Global - panels As List to Public.
MyMenuPanel.top = pnl.top ' or whatever position you like.
If you are using the CLV Library , I do not know how to get reference to the Parent panel top position ..
You could always do calculation, knowing the button / item that was clicked ..
Item height + divider height *item index = top position.
Did you test the above code .. the result might not be to your liking anyway.