This is my maiden question in this forum.
I am creating dynamic forms(How many? Variable...) and then adding dynamic control(..Command button) on each dynamic form using following code
Set cmdZoom = d_form(i).Controls.Add("VB.CommandButton", "cmdZoom")
Now I want to know which command button is clicked and in which form by handling click event.But thing is that i get event of lastly added command button only.I want to handle click event of any button like control array.But this is not control array coz each control is on different forms.So,my Question is that how do I know which button is clicked and on which form.
Info:--- Each dynamic command button has same name.I am using VB6
0 · ·