Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement