>>>>>>Is there a way to clear the Debug Output window programmatically? I like to clear it at the beginning of the application.
>>>>>>
>>>>>>I tried CLEAR DEBUG, but resets the entire debug window to default settings.
>>>>>
>>>>>You can activate the window with ACTIVATE WINDOW "Debug Output". Maybe use a keyboard macro from there to clear it?
>>>>>
>>>>>Tamar
>>>>
>>>>Thanks for the suggestion, but I could not get it to work with any consistency. I find it odd that there is no command like CLEAR WINDOW "Debug Output".
>>>
>>>Something like that:
>>>
>>>ACTIVATE WINDOW "Debug Output"
>>>DEBUGOUT 'Test1'
>>>DEBUGOUT 'Test2'
>>>WAIT WINDOW "Press any key to clear DEBUGOUT"
>>>ACTIVATE WINDOW "Debug Output"
>>>KEYBOARD '{ALT+W}E'
>>>
>>>Not tested well!
>>
>>Yes, but sometimes it hangs, other times it fails to clear (mostly).
>>Also, the keyboard line is "{alt+W}O". The hotkey "{Alt+2}" does not work at all.
>
>For me is
>KEYBOARD '{ALT+W}E'
>Check the attached picture
>
>UPDATE: I use Debug Frame, not FoxPro frame.
Oh. Missed that menu option. Needed to clean my glasses, I guess. Will edit my code and try again.
Greg Reichert