Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Line breaks
Message
From
28/01/2015 02:29:57
 
 
To
27/01/2015 23:20:37
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:
01614434
Views:
41
>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'
>
The MESSAGEBOX( ) function is one way to do this. It supports multi-line messages, using just CHR( 13 ) as the line-break character in the way you're using it.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform