Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting button fontbold property in grid
Message
De
31/03/2005 17:45:03
 
 
À
31/03/2005 11:24:01
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01000307
Message ID:
01000480
Vues:
21
Hi Cetin,

> textbox that uses displaypath(memofield,nchars), mline(memolfield,1) ...)

I've thought about using displaypath() like you've suggested, but how does one use this function when dealing with a proportional font? In other words, how will displaypath() know where to add the "..." ellipsis if you're using a very small or very large font?

I did some research and it appears that the Windows API DrawText() and CreateFont() functions can be used to create "ellipsis-ized" strings appropriate for a specific font and display width. Have you used these functions or can their functionality be implemented using VFP functions?

Regards,

Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform