Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MessageBox layout
Message
De
01/07/1999 06:15:40
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
MessageBox layout
Divers
Thread ID:
00236346
Message ID:
00236346
Vues:
38
hopefully this is a simple one for someone out there!

How do you pass parameters to the 'messagebox' function in such a way that your code remains readable whilst retaining reasonable appearance in the output message. In particular, how do you prevent the function 'losing' the spaces you put in between words at the end of lines. For example, if I create cMessageText like this:

'Here is a lengthy message which I want my users ';
+' to read before going on to the next choice in the ';
+' program or else they might do something they ';
+' will later regret!'

it appears on screen with the words at each end of the code lines joined - something like this:

'Here is a lengthy message which I want my usersto read before going on to the next choice in theprogram or else they might do something theywill later regret!'

I know you can avoid the problem by writing a ridiculously long line in the code but that makes the code unreadable (even with autowrap on).

The preferred solution?


Harry
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform