471,598 Members | 1,298 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,598 software developers and data experts.

the Alignment of the textBox and RightToLeft property

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

Jan 20 '06 #1
2 2976
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.

--
adi
"Eh*****@mail2world.com" wrote:
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

Jan 20 '06 #2
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

Jan 22 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Mohammad-Reza | last post: by
2 posts views Thread by John Smith | last post: by
7 posts views Thread by Doug Bell | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.