Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Coordinates of selected text
Message
From
06/07/2004 02:10:17
Km Kwun
Eastop Consultants Limited
Nt, Hong Kong
 
 
To
05/07/2004 10:13:05
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00920718
Message ID:
00920924
Views:
23
However calculating the coordinates from the SelStart and SelLength properties is complicated. I wonder if there is an API similar to the GetCaretPos() API to make the job simplier.

KM


>>I use GetCaretPos() to find the position of the Windows cursor. It works only when no text is selected. How can I find the coordinates of the selected text in an Editbox?
>>
>>TIA
>>KM
>
>See properties .SelStart and .SelLength.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform