Hello
I think simple question, but I did not find answer anywhere:
why this is wrong?
"For i = 0 To Me.Panel1.Controls.Count - 1
Me.Panel1.Controls.Item(i).textalign = ContentAlignment.MiddleLeft
next i "
it does not have method textalign !!
"Me.Button2.TextAlign= ContentAlignment.MiddleLeft"
is good, but I cannot go thru all buttons from code for buttons who are in the container.
how to change them?
should I write
Me.Button2.TextAlign...
Me.Button3.TextAlign
Me.Button4.TextAlign
and so on if I want it changed? it would be silly I think.
by
0 Replies