Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to close Command Window

Status
Not open for further replies.

ledu

Programmer
Jul 3, 2001
24
MX
Hello!
I have a litle problem , the thing is I wanna close the command windows by code , someone can tell me how to do it please , i'll thank you so much .
thank u !
 
HIDE WINDOW "Command"

Mike Pastore

Hats off to (Roy) Harper
 
Ledu,

When you run a PRG from inside the development environment, VFP will close the command window for you (and re-open it after the PRG has finished). Isn't that what you want?

Mike


Mike Lewis
Edinburgh, Scotland

My Visual Foxpro web site: My Crystal Reports web site:
 
I expect what you really want is to add the READ EVENTS command, which will make the command prompt disappear in the IDE until CLEAR EVENTS executes.

Otherwise, you're actually something like "SUSPENDed" after building your menues, and the command prompt becomes visible and active... when you pick a choice from a menu, a bit more of your program runs, then suspends again.

See thread184-857763 for more info.
 
ledu,
See if this works for you.
Code:
MOUSE DBLCLICK AT -0.1,0.1 WINDOW "Command"
Regards,

Mike
 
thank you !!!!!!
it work out with Read Events -Clear Event
Sorry for my English!! :$
:)
thank u
 
ledu,

Interestingly, if Dockable for the Command window is checked, the Command window changes where it's docked. If Dockable isn't checked, the Command window closes.

Regards,

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top