Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DrawText format problems
Message
 
À
22/03/2005 12:44:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Divers
Thread ID:
00998177
Message ID:
00998179
Vues:
15
You already made lnFormat numeric with macro substitution:
lcFormat = ALLTRIM(fg.txt_format) && TEXT_LEFT coming in from the table.
lnFormat = &lcFormat  && lnFormat is now numeric

*** I prefer to do this that way
*** lnFormat = VAL(lcFormat)
*** or even easy
*** lnFormat = VAL(ALLTRIM(fg.txt_format))
*** but it's your choice
apierror = DrawText(.hDC, lcText, lnLen, txtbox, lnFormat)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform