Hi,
I have a form with many buttons. I need the labels of those buttons to be align on the left so I have this code on the load event :
and so on...
How can I loop through those buttons to set this one time and for all. I don't want to come back to add a line everytime that I'll have to add a control in that form.
Thanks in advance.
I have a form with many buttons. I need the labels of those buttons to be align on the left so I have this code on the load event :
Code:
btn_1.Alignment = 1
btn_2.Alignment = 1
btn_3.Alignment = 1
and so on...
How can I loop through those buttons to set this one time and for all. I don't want to come back to add a line everytime that I'll have to add a control in that form.
Thanks in advance.