the Alignment of the textBox and RightToLeft property

E

Ehsanal

plz i have a question:
when i put the properties in a textBox like this:

TextAlign =
System.Windows.Forms.HorizontalAlignment.Right;
RightToLeft = RightToLeft.YES;

then the writting will appear as if the Alignment is left
could u help me in solving this problem
thank u in advace
Ehsan
 
G

Guest

Are you trying to show text that start from right-to-left? (middle-eastern
languages)
If so I think you dont need to specify the Alignment, as the text itself
comes aligned to the right.

I haven't tried it but think it should work.
 
E

Ehsanal

thanks very much :
Yes I try it and it works correctly as I want
thaks again
but i want to know: what is the problem with rewritting the aligment ,
where is the confusing
Plz if u know tell me
Your Friend Ehsan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top