Home » Developer & Programmer » Forms » REPLACE_MENU Problem (Dev 10g R2)
REPLACE_MENU Problem [message #515574] Tue, 12 July 2011 04:33 Go to next message
oralover2006
Messages: 144
Registered: January 2010
Location: India
Senior Member
hi all,

i created two Menus 1) main.mmb 2) md_menu.mmb
i am using Replace_Menu menu built-in to call md_menu from main as:
declare
 m_name varchar2 (100) := 'c:\project\md_menu';
begin
  Replace_Menu(m_name, PULL_DOWN);
end;


and in md_menu.mmb i wrote as below to exit from current menu and re-display previous main.mmb

declare
  m_name varchar2(100) := 'c:\project\main';
begin
  Replace_Menu(m_name, PULL_DOWN);
end;


its displaying my first main.mmb but i can't navigate ( it is not displaying any menu item but only Top level menu )

what i have missed? what should i do to solve this problem?

please help.
best regards.
Re: REPLACE_MENU Problem [message #515579 is a reply to message #515574] Tue, 12 July 2011 04:44 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
I wouldn't know; but, REPLACE_MENU accepts some additional parameters - see if any of them makes sense and help in your case.

Also, you might try to recompile all (Ctrl + Shift + K) and see what happens.
Re: REPLACE_MENU Problem [message #515580 is a reply to message #515579] Tue, 12 July 2011 04:49 Go to previous message
oralover2006
Messages: 144
Registered: January 2010
Location: India
Senior Member
thanks for your attention.

i have compiled all, nothing happened, its all ok!

may be something else as you mentioned additional parameters etc.

Problem Solved !!

Actually there were restriction codes to access menu items, i over looked it. now i have included that code in main.mmb Menu Startup Code in Property Pallate Smile

thanks Littlefoot once again for your attention.

[Updated on: Tue, 12 July 2011 05:57]

Report message to a moderator

Previous Topic: DDE package with Open Office.
Next Topic: post_change trigger on item
Goto Forum:
  


Current Time: Sun Sep 08 23:01:54 CDT 2024