Quick question, I have a label that is counting the letters that are typed in a textbox. But what I do want with that label is that I need it to be right justified. If I set the properties of the label to have right align it doesn't seem to work. So do I need to align it in the code so when it hits double digits it doesn't run over the item to the right but just expands to the left... How can I justify the label via code?
Here's the code I'm using for the label...
Adding "lblImperialCou nt.TextAlign = ContentAlignmen t.MiddleRight" to it doesn't seem to make a difference either...
I hope I am clear enough with my questions :)
Thanks
Here's the code I'm using for the label...
Code:
Dim a As Object a = Len(Me.tbImperial.Text) lblImperialCount.Text = (1 + a)
I hope I am clear enough with my questions :)
Thanks
Comment