>>>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.
>>
>>Hiya Rick,
>>
>>I've got no idea if this works, but try it and let me know.
>>
>>Yes, friends, once again it's
Foxtools. Try the following after loading the library. Pardon me, of course, you've already got it loaded, don't you, Rick< g >
>>lnwhandle = _WFindTitl('Debug Output')
>>= _WClear(lnwhandle)
>>Let me know, please.
>
>I got a return value greater than 0 for the handle, and a return value of .T. for the _wclear. However, the debugout window was still
cluttered. At least the breakpoints were still there.
Hiya Mark,
0 isn't a valid whandle. AFAIK, _WFindTitl() is case sensitive, and, I think the Debug Output window must be active (open) in the debugger.
George
Ubi caritas et amor, deus ibi est