Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show long string in debugger or messagebox
Message
 
 
To
30/01/2011 11:11:26
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01497807
Message ID:
01497862
Views:
47
>>>>>>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.
>Hi,
>
>
>I have just uploaded on Foxite a class with Messagebox, exactly as the native VFP box ( same parameters etc) with an adjustable editbox, maybe this is something for you: look for Thread ID: 292054 Message ID: 292829
>
>Regards,
>
>Koen

Thank you, Koen.
"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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform