all groups > dotnet windows forms > january 2005 >
You're in the

dotnet windows forms

group:

TextBox displays text in reverse order of user input


TextBox displays text in reverse order of user input Nigel B
1/31/2005 4:01:01 PM
dotnet windows forms:
I have (nearly) upgraded an existing working VB 6 application to VB.NET using
the built in Vis Studio migration tool and a lot of editing. However, the
TextBoxes on Windows forms of the upgraded application display text as the
user types but in the reverse order. This effect occurs for letters but not
numbers. The insertion point always jumps back to the left of the last typed
letter!
Has anyone the answer - I'm sure it's simple but I can't fathom it.
Thanks,
Nigel
Re: TextBox displays text in reverse order of user input Nigel B
2/1/2005 1:47:03 AM
Thanks Serhad. However, I've tried your suggestion (setting it to no at
design time and run time) but the effect persists. It does seem that in the
upgrade from VB6 it has got the idea it is in a RTL environment. New and
existing applications are not affected.
Nigel B

[quoted text, click to view]
Re: TextBox displays text in reverse order of user input SerhaD Ýnanlý
2/1/2005 4:36:48 AM
Try to set the RigthToLeft property of your Form to No , this may fix your
problem

Re: TextBox displays text in reverse order of user input Nigel B
2/1/2005 6:29:05 AM
Problem solved. Human error!

[quoted text, click to view]
AddThis Social Bookmark Button