Hi Chris - sorry to take so long to get back to you. I was up in Brisbane during the Footy Double Debarcle! When I left it was a city full of smug poms and even smugger banana-benders - ughh <g>.
Anyway,
Are the textboxes/editboxes in the grid based on anything other than the fox base class?
Cheers,
Andrew
>Andrew,
>
>I have put the following code in the InteractiveChange of the
>edit box:
>
>
>Messageb(TRAN(This.SelStart) + ", " + TRAN(LEN(This.Value)))
>Messageb(TRAN(This.SelStart) + ", " + TRAN(LEN(This.Value)))
>
>
>SelStart changes back to 0 in between the two messageboxes.
>Refresh, GotFocus, LostFocus etc don't occur at all.
>And what makes it worse is that it seems to be very random, although
>it doesn't work more often than it does work.
>
>Any more ideas?
>
>Chris.
>
>>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.