>>>>>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.
Edward Pikman
Independent Consultant