Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmatically clearing the debug output window
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00270653
Message ID:
00270966
Vues:
27
>>>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.
>
>Thanks for the suggestion, George. After issuing oFoxTools.DustOff() < g >, I tried it and got the same result Mark did, i.e. a non-zero value for lnwhandle and _WClear returns .T. but the contents were not cleared.

Thanks Rick, it was just a SWAG on my part anyway.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform