i need to create an specific number of buttons depending on the parameters specified by the user.
if the user ask for 2 buttons then i need to create 2 buttons, if the user ask for 4 buttons then i need to create 4 buttons, and so on.
also i need those buttons to work withevents, so they can execute code from other functions or methods.
is there a way i can do that ?
if the user ask for 2 buttons then i need to create 2 buttons, if the user ask for 4 buttons then i need to create 4 buttons, and so on.
also i need those buttons to work withevents, so they can execute code from other functions or methods.
is there a way i can do that ?