Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coordinates of selected text
Message
De
07/07/2004 02:16:50
Km Kwun
Eastop Consultants Limited
Nt, Hong Kong
 
 
À
06/07/2004 08:14:17
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00920718
Message ID:
00921302
Vues:
30
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform