label RightToLeft property

azshah

New member
Joined
Jul 19, 2006
Messages
4
Programming Experience
Beginner
Hi all
was wondering if someone can help me out here basically I have got three labels lined up vertically on a form all of them being populated dynamically with numbers and what I want to do is right align them so basically the label should expand leftward when text is being added..

I have used rightToLeft property of label but it doesn't work due to my local is English (left to right language) I was wondering if this is possible in any way..

Thanks in advance
 
one way would be to switch off the AutoSize of the label controls, make them large enough to accommodate your text, and then set the TextAlign property to MiddleRight or TopRight or whatever suits you.
 
Use a TableLayoutPanel with three columns 33% each, one row. Add the 3 labels into each row and set each Dock=Right.
 
Back
Top