Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inserting into string at point of cursor
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00094702
Message ID:
00095098
Views:
34
>>>>>>George,
>>>>>>
>>>>>>This reminds me of a problem you might actually have a solution to. If you have an editbox, is there a way to determine cursor position?
>>>>>>
>>>>>>Adam
>>>>>
>>>>>Before George will offer API solution, could you try Editbox.SelStart ?
>>>>
>>>>Aw, Ed, you're pigeon holing me. :-) Actually, since FoxPro objects aren't real windows, I don't think there is an API solution. I think your suggestion is probably not only the right one, but also the only one. I haven't tried foxtools, though. (bg)
>>>
>>>That's not the only solution. Another one is to KEYBOARD right/down arrow from Editbox.Gotfocus :)
>>
>>Would that work in every case? What about a form with one editbox?
>
>It could work for any number of editboxes.

Well, just goes to show that there's more than one way to do just about anything. Thanks, Ed, you made it a good day because I just learned something new.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform