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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hide/show window

Status
Not open for further replies.

gcw1

Programmer
Jan 12, 2002
204
CA
Hi, I'm using fp2.6 for windows. I'm trying to use something similar to...

hide window1
do window2.spr
show window1

...in the valid code of a list control but it doesn't want to work, it works everywhere else, is there anyway of getting around this? thanx

Glenn
 
gcw1:

I haven't tried doing any sophisticated tricks in fox before visual in some time, and I don't remember if there was a bug in the list control, but if you truely can't get it to work, maybe try using an invisible push button that you set focus to and then performs the screen hide, do new screen, screen show routine. The pushbutton should only allow itself to be selected if some variable is set to a known value or someother such trickery.

Also, it may be simpler to just have the other screen active already and then pop it to the top of screen stack when needed. (takes a lot less work also)

Good luck,

Darrell
 
some funny things can happen with modal screens when trying to hide something. I solved my problems by moving screen to some out-of-sight address (eg to 0,-500).

Ted
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top