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.