Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Way to limit width of messagebox?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01314437
Message ID:
01314446
Views:
7
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform