Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not quite MEMLINES
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00670729
Message ID:
00670747
Vues:
13
None that I know of. You'll need to write a function to do that. Try the downloads section, maybe someone already has the program/file you need.

You can also try TXTWIDTH(lcString, 'Arial', 8, 'BI') to get the string lenght with respect to the average character width. We use this within a program to breakup long strings via the spaces between words (if possible) or just up to the character that fits into a specified string lenght.

HTH,
Arriyel

>Does anyone know of a function that I could pass a font (Ariel), font size (8), style (B,I){Bold,Italic}, Wrap Width (6.5"), and a string (This is a test sentance that will fill more than one line so that the data will be forced to wrap.) to and the function would then tell me how many lines will be in the resulting wrapping text?
Speak using soft and sweet words in case you have to eat them later.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform