Basically i got dynamic buttons has same click event. When i click different button i have to show some different panel. i did that but user/me can't hide the panels i showed up. So i think if i can learn lets say i have number one button and number two button when they clicked they are going to show their specific panels i got it done but When i click second time on number one or number two button i want to hide that button's panels.

(only got one panel i writing in specific button's contents)

* has dynamic buttons
* All dynamic buttons has same click event
* All the buttons has to show same panel but with different content
* Want to Learn how to know which dynamic button clicked second time
* Using Delphi TMS Web

so i can hide panel