Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Line breaks
Message
De
29/01/2015 01:20:57
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01614431
Message ID:
01614569
Vues:
44
>>>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]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform