Home » Developer & Programmer » Forms » How to put a menu in the form?
How to put a menu in the form? [message #195316] Wed, 27 September 2006 21:39 Go to next message
cacheboy
Messages: 21
Registered: August 2006
Junior Member
I have a main canvas in a main form. This form just display a menu which provide links to individual form. This form is written in 6i so I am just porting it over to 9i/10G.

So far I can't load the menu. It said cannot open the menu file.

This form has one trigger WHEN-NEW-FORM-INSTANCE

set_window_property(FORMS_MDI_WINDOW,WINDOW_STATE,MAXIMIZE);
set_window_property(FORMS_MDI_WINDOW,TITLE,'My title');

replace_menu(:parameter.form_path||'mymenu');

:global.form_path := :parameter.form_path;
:global.report_path := :parameter.report_path;

The error when I run the form is cannot open mymenu.
I put mymenu.mmx at both the directory the form is as well as the App Server at C:\DevSuiteHome\forms90\j2ee\forms90app\forms90web

I also rename mymenu.mmx to mymenu both to no avail.

Anyone can help?

Thanks.
Re: How to put a menu in the form? [message #195482 is a reply to message #195316] Fri, 29 September 2006 00:06 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
You are porting from 6i to 9i/10g. You HAVE to port the 'pll' files, then the 'mnu' files, and THEN the 'fmb' files.

David
Previous Topic: Unable to connect to report server (10g)
Next Topic: New_form and exit_form
Goto Forum:
  


Current Time: Fri Sep 20 15:28:58 CDT 2024