HackHack
Did you not answer your question yourself in your first post on this thread !
The sender indentifies which control Panel(1), Panel(2) etc called the subroutine,
as Warwound documented
Sub stuff_Click
Dim ClickedPanel As Panel
Dim ClickedPanelTag As Int
ClickedPanel=Sender
ClickedPanelTag=ClickedPanel.Tag
' do stuff
End Sub
so if panel(1) clicked called the subroutine and it tag was '1' then
ClickedPanel.Tag would = '1' and so on.
I hope this helps you.
Regards
BOB