Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report writer's trim capabilities for form controls
Message
 
 
À
16/04/2006 12:55:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01113934
Message ID:
01114031
Vues:
18
This message has been marked as the solution to the initial question of the thread.
Malcolm,

Check gpgraphics class in the _\FFC\gdiplus.vcx. It has MeasureStringA/MeasureStringW methods. I think it should provide enough info for you to implement 4 first options.

>VFP 9's enhanced report writer provides 5 types of trim options as described below:
>
>* 1 = StringTrimmingCharacter
>* 2 = StringTrimmingWord
>* 3 = StringTrimmingEllipsisCharacter
>* 4 = StringTrimmingEllipsisWord
>* 5 = StringTrimmingEllipsisPath (for filenames)
>
>Is there a VFP/FoxTools function or Windows API call that provides the same trim options for form controls? I'm aware of DisplayPath() function which covers number 5 above.
>
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform