473,385 Members | 1,930 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 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 3076
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Kyle Blaney | last post by:
When labels are vertically stacked on top of one another and have their TextAlign property set to MiddleRight, the text is not properly right-aligned. You can reproduce this problem by creating...
5
by: Stan Shankman | last post by:
How do I add trailing spaces within a right-justified textBox? In order to add a trailing space to the text in a right-justified textBox, I use to just append a space to the end of the text...
6
by: Mohammad-Reza | last post by:
I wrote a component using class library wizard. In my component i want to in order to RightToLeft property do some works. I can find out if user set this property to Yes or No, But if He/She set it...
2
by: Mamatha | last post by:
Hi I want to add an icon to the textbox's text. I don't know how to display icon in textbox in VB.NET. If any one knows please let me know. Thanks in advance. Mamatha
2
by: John Smith | last post by:
Hi all; Putting "Due" into the column header of a datagrid. Font is a proportional fort. When the alignment is left, there is some space between the column separator bar and the D in Due....
7
by: Earl | last post by:
Any known fixes for the wacky right-alignment bug in the WinForms datagrid (VS2003)? I've tried Ken's workaround...
7
by: Doug Bell | last post by:
Hi Does anyone know (or point me where I can find) how to set the alignment of a DataGrid Column Header different to the alignment of the column. I am trying to show some Right aligned columns...
3
neo008
by: neo008 | last post by:
Hi All, I want all items of listbox right aligned. I could'nt find alignment property as texbox have. But 'LISTs' have "RightToLeft" property which is not being set to "TRUE". I think It...
6
by: andrews | last post by:
I try to add strings with fixed length who are representing integers So I have to put spaces (I guesse) before short strings(from short integers). F.e. 12345 1 567 5432 54328
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.