Home » Developer & Programmer » Forms » how to eleminate default Menubar in developer 10g
how to eleminate default Menubar in developer 10g [message #271237] Mon, 01 October 2007 00:08 Go to next message
dbhossain
Messages: 155
Registered: August 2007
Location: Dhaka
Senior Member

Dear Experts,

i am using developer 10g. i have attached a page screen of my form page,please check it. i want to eleminate the Default menu bar due to save my total page area. in the main form property if i erase the property value of (DEFAULT&SMARTBAR) then the menu is eliminated but the bar is still there and it wastes my page space. i dont want this bar .

Can anyone help me how can i eliminate this menubar.

i changed many properties in the "formsweb.cfg" but not working or i dont know which one should i change to get the output.


Please help me.


Thank you.


Kamal hossain
Re: how to eleminate default Menubar in developer 10g [message #271641 is a reply to message #271237] Tue, 02 October 2007 05:19 Go to previous messageGo to next message
fontanel@sinelec.it
Messages: 2
Registered: October 2007
Junior Member
in oracle three tier environment form is embedded in a browser and the menu bar of your browser can't disable...oracle can do something only in the frame of your application...
you try to set separateframe=true in formsweb.cfg...the problem after is a parent windows... see document in metalink
How to Close the Browser Window When Closing Forms And How to Simulate SeparateFrame By Javascript
Doc ID: Note:201481.1

best regards
Fontanel
Re: how to eleminate default Menubar in developer 10g [message #272085 is a reply to message #271641] Thu, 04 October 2007 00:16 Go to previous messageGo to next message
dbhossain
Messages: 155
Registered: August 2007
Location: Dhaka
Senior Member

dear mr. Fontanel,

Thank you very much for you reply. you gave me the New idea. i am highly impressed for your idea. although i didn't get my solution (to hide the menu bar) but you have given me a huge problem solution that was my client requirement.

my client requirement was the software system will be opened by Internet brower but after getting connection the browser window will disappear (like windows application). i got the solution now from you. thank you very much.


Best Regards,

Kamal Hossain
Re: how to eleminate default Menubar in developer 10g [message #272179 is a reply to message #271237] Thu, 04 October 2007 03:15 Go to previous message
fontanel@sinelec.it
Messages: 2
Registered: October 2007
Junior Member
i don't know well when you say "browser window will disappear" but like i sayd you before

oracle with inner procedure doesn't action closing of the browser depending of ie version=20

(7 ie version have many problem tested by me ) in the oracle note that I link you before there is a javascript code

that when you call with web.show_document built-in in form call an html-page, take care virtual-path in *.conf file,

and then close it

I think a login form from your user :if you write in when-button-pressed trigger=20

=20

WEB.SHOW_DOCUMENT('http://ip_appress:port/forms/java/close.html','_self');

in close.html

copy this code that is taken by a oracle note that I mentioned before

=20

<html>

<body onload=3D"closeit()">

<script>

function closeit()

{

win =3D top;

win.opener =3D top;

win.close ();

}

</script>

</body>

</html>

if an user don't want to login and press a cancel button...this goes well

take care that the virtual path is in file *conf

in the same directory of formsweb.cfg

I hope to have response you

bye

Fontanel
Previous Topic: How can I fit the application with display resolution
Next Topic: Insertion/Retreival of a video into/from the database.
Goto Forum:
  


Current Time: Mon Mar 10 14:00:20 CDT 2025