Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically clearing the debug output window
Message
From
30/09/1999 11:23:27
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00270653
Message ID:
00271100
Views:
34
>If you close it, won't the handle be invalid?
>

Yes, so we'd have to open it again without using the handle. George found the correct window name to use, so the following hybrid approach works too:
set library to foxtools addi
lnwhandle = _WFindTitl('Debug Output')
= _WClose( lnwhandle)
ACTIVATE WINDOW "DEBUG OUTPUT"
Thanks for you ideas, Mark.

>>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.
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Previous
Reply
Map
View

Click here to load this message in the networking platform