Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Yousfi Benameur
  Where is Yousfi Benameur?
 El Bayadh
 Algeria
 Yousfi Benameur
 To: Koen Piller
  Where is Koen Piller?
 Santpoort-Zuid
 Netherlands
 Koen Piller
 Tags
Subject: RE: clear window command
Thread ID: 265361 Message ID: 268524 # Views: 25 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: General VFP Topics
Date: Tuesday, July 13, 2010 1:10:24 AM         
   


> >
> > The code can be executed in a prg, an executed selection ,on command window...its simply select all the text in the wontop window (command window for ex) and cut the inner text to the clipboard.Its similar to what happen when you right clic on the command window and select "clear".
> > Yes the extended foxtools pointed is an HLP file.Its describe all the foxtools functions,...
> > Also,If you open any file with "modi comm..." and select execute the prg containing the code above (in the vfp menu),it clears your opened file (wontop window).I suppose that you called "selfdestructive").
> >
> > Regards
> > Yousfi Benameur
>
>
>
> Yousfi,
>
> what I call selfdestrictive is the following action:
>
> 1. copy the content of your code to _cliptext
> 2. type in VFP : modi command testit.prg
> 3. paste _cliptext into this prg window
> ** notice the nice coding? in your program window?
> ** fine now test it: and I continue with
> 4. clicked on the shortcuts Ctrl + E
> ** wooh !
> 5. Beautiful everything gone!
>
> That's what I call selfdestructive!
> Your coding seems to be a hoax. :)
>
> Best regards,
>
> Koen

The best things are always the simplest expressed.
You force me yet to see with google translate what is a "hoax" :-)
select and copy the code i gave and paste it in command window.select and execute selection by right clic.

the best i find actually the code below works fine in command window! it clears this window.I tested initially in this thread and it was not done...maybe i was confused.

SYS(1500, '_MED_slcta', '_MEDIT')
SYS(1500, '_MED_CLEAR', '_MEDIT')  



Regards
Yousfi Benameur

ENTIRE THREAD

clear window command Posted by Yousfi Benameur @ 6/21/2010 12:59:46 PM
RE: clear window command Posted by Cetin Basoz @ 6/21/2010 2:21:19 PM
RE: clear window command Posted by Yousfi Benameur @ 6/21/2010 2:55:23 PM
RE: clear window command Posted by Yousfi Benameur @ 6/22/2010 7:10:46 PM
RE: clear window command Posted by Yousfi Benameur @ 7/9/2010 10:02:56 PM
RE: clear window command Posted by Koen Piller @ 7/10/2010 11:50:04 PM
RE: clear window command Posted by Yousfi Benameur @ 7/11/2010 1:23:22 AM
RE: clear window command Posted by Koen Piller @ 7/11/2010 9:15:48 AM
RE: clear window command Posted by Yousfi Benameur @ 7/11/2010 11:50:42 AM
RE: clear window command Posted by Koen Piller @ 7/12/2010 11:59:26 PM
RE: clear window command Posted by Yousfi Benameur @ 7/13/2010 1:10:24 AM
RE: clear window command Posted by Anders Altberg @ 7/11/2010 10:59:05 AM
RE: clear window command Posted by Yousfi Benameur @ 7/11/2010 11:56:54 AM