Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically clearing the debug output window
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00270653
Message ID:
00271116
Views:
20
Rick,

Pure VFP, no foxtools needed

activate window "debug output"
debugout "test"
release window "debug output"
activate window "debug output" && contents gone

>David,
>
>Good thought. Using George's idea, I can close it with
>
lnwhandle = _WFindTitl('Debug Output')
>= _WClose(lnwhandle)
>
>
>Now, the trick is to open it again from code... any ideas?
>
>>Rick,
>>
>>If you close the window it loses it's contents. You could maybe _screen.lockscreen if you don't want to see it go away and come back
>>
>>>Dumb question du jour: Is there a way to programmatically clear the debugger output window, without issuing CLEAR DEBUG? I would like to be able to do the same thing programatically that "clear output window" does from the debugger's Window menu, but without clearing breakpoints and restoring default window sizes and positions like CLEAR DEBUG does.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform