Chris, it looks like something is setting the selstart property back to 0 - look back through the class heirarchy for the text box. You'll notice that when sellength > 0 in the last example, the B came out at the front.
Cheers,
Andrew
>Hi,
>
>I have a gridbox with an editbox for the control in
>one of the columns. The problem with this is that
>the text randomly comes out backwards. I have made
>sure RightToLeft is set to .F. but it still does it.
>
>If you can't understand what I mean, here is a small
>example :
Sample(322kb)>
>
>Thanks in advance for any suggestions.
>
>Chris Ormerod
If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?
From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."
All my FoxTalk and other articles are available on my
web site.
Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.