Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Coordinates of selected text
Message
From
07/07/2004 02:16:50
Km Kwun
Eastop Consultants Limited
Nt, Hong Kong
 
 
To
06/07/2004 08:14:17
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00920718
Message ID:
00921302
Views:
29
Thanks for the suggestions.

KM


>You mean, you need the actual coordinates, in pixels? Why would you need that?
>
>Anyway, perhaps the TxtWidth() function, in combination with SysMetric(), can help you here.
>
>Another alternative would be to use the API. You can call Windows API functions from VFP, but I am not an expert on this subject.
>
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform