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

Problem with SI Forms and Menus

Status
Not open for further replies.

ggrewe

IS-IT--Management
Jul 10, 2001
169
US
I am running VFP8, SP1. I have created a stand-alone exe with its own menu system (mainmenu.mpr). One of the options is to call various complied applications (top-level forms) with thier own menu system (app.mpr). I call the app like so "DO App.app WITH .t.". The problem is once the app is called, it rewrites any menus with corresponing names in the exe. I have tried changing all the menu options on the app's menu, but to no avail. I am sure someone has had this problem before and has a quick solution. Thanks in advance.
 
it rewrites any menus with corresponing names in the exe.

This unclear, can you explain the above?

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Sorry Mike, it was late last night...

On the Main Menu, I have the following Pad Names; File, Tools, Reoprts, and Help. On App Menu, I have the following Pad Names; File, Edit, a couple others and Help.

The Main Menu has options that are unique under File, and Help and so does the App Menu. As soon as the App runs, the File and Help on the Main Menu now contain the options that are in the App menu.

For Example;
Main Menu
File = Program1, Program2, Printer Setup, Exit
Help = Help Topics for the Main Menu, Help About, Check for Updates and a link t my Web site

App Menu
File = Printer Setup, Close
Help = Help Topics for the Application, Help About and a link to My Website

When you run the App, the Main Menu File and Help sections are overwritten the same options as the App Menu.

I did use teh Menu BUilder to create both Menus. I hope this helps.
 

"DO App.app WITH .t."

Do you have a line that look like this in the init of the second form?

Code:
DO SDIMENU.MPR WITH THIS,.T.



Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Yes, that is Correct. It is really strange and I cannot figure it out. Thansk for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top