Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Show long string in debugger or messagebox
Message
 
 
À
29/01/2011 19:48:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01497807
Message ID:
01497811
Vues:
44
>>>>Hi,
>>>>
>>>>As I am troubleshooting an issue I have to view a very long string in either the debugger or using messagebox approach. Messagebox cuts off after some number of characters (I don't know what the limit is). And in the debugger it is also almost impossible to view this string. What else can I do?
>>>>
>>>>TIA
>>>
>>>1024 chars is the max. Either make your own messagebox (you can use a form with an editbox on it) or write the text to a file using strtofile()
>>
>>Yes, this is what I did. Broke the string into 3 messageboxes. Thank you.
>
>You're welcome, although you went a different route :o) As long as you got what you needed is what matters. My personal choice would be a resizable form with a resizable editbox on it so it's re-usable and the user can stretch the form and the message in the editbox instead of just scrolling....

I was just rushing to get to the root of the problem. So using SUBSTR() and 3 message boxes was sufficient.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform