Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SelStart function
Message
From
30/03/2006 15:32:29
 
 
To
30/03/2006 15:27:55
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01097121
Message ID:
01109337
Views:
53
>>>I agree this sample works just fine.
>>>
>>>However, it does not duplicate my situation because the control in your grid is still a textbox instead of an editbox and you have no interactiveChange event code for the grid editbox control.
>>
>>I think I must have missed where you said the control was an EditBox.
>>
>>You certainly do appear to be right, an EditBox in a grid, I can't even make the .SelStart go anywhere else but the beginning. It jumps back there as soon as the control gets focus. FWIW, it seems it's always worked that way.
>
>Just an idea... save editbox's .selstart in .lostfocus(), and put it where it was in .gotfocus - may even work.

Tried that. The .SelStart goes to 0 even if you set it to some other value in .GotFocus().
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform