Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Line breaks
Message
From
29/01/2015 01:20:57
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
28/01/2015 23:03:26
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01614431
Message ID:
01614569
Views:
45
>>>I know there a countless alternate ways of doing this but is there a way to display line breaks tucked inside a memory variable displayed in a window
>>>I suspect it's one of those 'filetostr strtofile conversions' but i'm having trouble with the syntax
>>>thanks for your help
>>>
>>>mes = 'I need the line break'+chr(13)+'To be displayed in this window'+chr(13)+'any suggestions??'
>>>activate window temp
>>>? mes  &&& all I get here is 'any suggestions'
>>>
>>
>>Don't use ? to output message. Use messagebox. Also, you may want to try chr(13) + chr(10) instead of just chr(13).
>
>thanks Naomi - actually your chr(10) by itself works fine. Any reason why I shouldn't just use that?

To put out a message a messagebox is the right tool. Users have learned it, so do not change it.

If you need it better then the common messagebox, build your own, check downloads or VFPX for something better. But do not change the general idea.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform