Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Way to limit width of messagebox?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01314437
Message ID:
01314446
Vues:
8
>Is there any way to limit the width of a messagebox? In other words, if I pass a rather long message as the message text, rather than the messagebox stretching out the width of my screen, I'd like it to display only about 70 characters per line and do wordwrap on anything longer.
>
>Is there any kind of function or routine that will take a string and add the chr(10) + chr(13) at the right places to give you a "text-wrapped" string to pass to Messagebox()?
>
>Thanks for your help.
>
>Rodd

Hi Rodd,

Depends on the functionality you're looking for you may want to take a look at
Form, which is convenient for showing messages Download #9684

I designed it for "statistics" kind of messages and I used it in all VFP projects I worked. Something simple, but I really liked it.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform