Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using row() and col() to determine position in editbox
Message
From
06/04/2005 15:06:17
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01001955
Message ID:
01002053
Views:
19
Hi Sergey,

Your sample code was great (Message #871248) and the Win32 GetCaretPos() API function also works in the VFP editbox.

Unfortunately, like VFP's row() and col() functions, GetCaretPos() doesn't update itself when a user changes caret (cursor) position using the cursor keys or mouse.

So, what I think I'm looking for is a method or API call that will cause GetCaretPos() to resynch itself with the current position of the caret (cursor) after a user has moved it using the cursor keys or the mouse.

We're getting close ...

Ideas?

Thanks again,

Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Previous
Reply
Map
View

Click here to load this message in the networking platform