Groups | Blog | Home
all groups > vb.net > february 2005 >

vb.net : textbox


Steve
2/16/2005 10:30:15 PM
In vb.net 2003
Tha language is english
Is there any way to make a textbox type right to left. I saw this option in
the properties of the textbox. But from reading documents online I
understand it to only work in a couple of languages. Thanks for any help.

mohamed.mossad NO[at]SPAM egdsc.microsoft.com
2/17/2005 1:31:51 PM
Hi Steve
There is the RightToLeft Property of the TextBox that you need to set to
yes it should work even if you are using a left to right lanugaue.
Mohamed M .Mahfouz
Developer Support Engineer
ITWorx on behalf of Microsoft EMEA GTSC
Carlos J. Quintero [.NET MVP]
2/17/2005 2:35:53 PM
Use TextBox1.RightToLeft = True. It works on my Spanish machine...

--

Carlos J. Quintero

MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com


"Steve" <kgc71203@hotmail.com> escribió en el mensaje
news:%23eSuilKFFHA.4004@tk2msftngp13.phx.gbl...
[quoted text, click to view]

Herfried K. Wagner [MVP]
2/17/2005 3:01:55 PM
"Steve" <kgc71203@hotmail.com> schrieb:
[quoted text, click to view]

Set your textbox control's 'TextAlign' property to 'Right' instead.
'RightToLeft' only makes sense for certain languages.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
AddThis Social Bookmark Button