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

HOW CAN I REFRESH MY MENU?

Status
Not open for further replies.

tryn2learn

Programmer
Jun 26, 2000
24
US
I'm displaying values stored in variables as an option off of my menu. These variables are determined during execution of the programs However, the only way I can get the menu to reflect these changes is by executing the .mpr. After doing the .mpr and either an activate window xxxx or show window xxxx none of the text labels are showing on the screen. The fields and buttons display just fine, but none of the text labels are visible. Is there a different way to "refresh" the menu while diplaying a form or is there a way to force the text labels to show after having executed the .mpr?
 
The only way to "refresh" a menu is to execute a DO menuname.MPR. You can try a SHOW GETS to refresh your screen output though.

Dave S.
 
I've used 'do menuname.mpr' followed by a variety of trials including "activate window windowname", "show gets", "show window windowname" - the menu refreshes but none of the plain text on my screen shows up. Any ideas as to why all of the fields on my screen are showing up but none of the text labels show up?
 
What I do is to have all menu items call ".PRG" files. The last thing that PRG does is to do Mainmenu.mpr before the return command. David W. Grewe
Dave@internationalbid.com
 
Thanks for the help. Turns out I had a clear in my menuname.mpr set up code which was affecting the text. Thanks again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top