المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : how to do Right Alignment?



C# Programming
10-20-2009, 07:51 PM
Hi, i am making an application in which the label keeps scrolling up. The problem i have is i want to do right alignment so that i get "." in a sequence like

Basket...........
ball................
keyboard.......

can anyone help me with this please!!

i have tried this, but it isn't working for me,

for (int u = textBox1.Length; u = 40 ; u++)
{
strDotsBuilder.Append(".");
}