Home » Developer & Programmer » Forms » Removing window menu from the default menu of the form (Form 6i)
Removing window menu from the default menu of the form [message #293997] Tue, 15 January 2008 23:05 Go to next message
athar.fitfd@hotmail.com
Messages: 193
Registered: October 2007
Location: pakistan
Senior Member
Hi every one ,

I want to remove the window menu from the default form's menu.
can anyone help me in this regard.

Thanks in anticipation.
Re: Removing window menu from the default menu of the form [message #294002 is a reply to message #293997] Tue, 15 January 2008 23:47 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
I don't think you can. See http://www.orafaq.com/forum/m/170139/67467/?srch=window+menu#msg_170139 where a similar question was asked about the 'help' drop-down menu.

David
Re: Removing window menu from the default menu of the form [message #294019 is a reply to message #293997] Wed, 16 January 2008 01:05 Go to previous messageGo to next message
mintomohan
Messages: 104
Registered: November 2006
Location: India
Senior Member
Try this method:

Create menu item with label WINDOW and set the property to Magic Item = Window.
Now make this menu item invisible.

./fa/3753/0/

Minto
  • Attachment: menu3.JPG
    (Size: 43.22KB, Downloaded 1612 times)
Re: Removing window menu from the default menu of the form [message #294205 is a reply to message #294019] Wed, 16 January 2008 16:58 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
A good idea but unfortunately it didn't work for me.

./fa/3756/0/./fa/3757/0/

And when I set my 'WindoW' and 'HelP' to 'visible' I get the following.

./fa/3758/0/

David
  • Attachment: untitled1.JPG
    (Size: 43.23KB, Downloaded 1601 times)
  • Attachment: untitled2.JPG
    (Size: 27.86KB, Downloaded 1602 times)
  • Attachment: untitled2.JPG
    (Size: 27.29KB, Downloaded 1630 times)
Re: Removing window menu from the default menu of the form [message #294259 is a reply to message #294205] Thu, 17 January 2008 00:14 Go to previous messageGo to next message
mintomohan
Messages: 104
Registered: November 2006
Location: India
Senior Member
hi David,

you have to set the Menu Item Type property to Magic.

it worked for me.

Minto
Re: Removing window menu from the default menu of the form [message #294273 is a reply to message #294259] Thu, 17 January 2008 00:53 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
My bad. I did as you said and found that the Window option is not shown.

Thanks for the information.

David
Re: Removing window menu from the default menu of the form [message #294279 is a reply to message #293997] Thu, 17 January 2008 01:22 Go to previous messageGo to next message
musman
Messages: 147
Registered: July 2007
Location: Lahore
Senior Member

Create Window in your menu.

Set Properties.

Menu Item Type:: magic
Magic Item:: window
Command Type:: Null
Visible In Menu:: Yes

Then in menu Start up Code..
SET_MENU_ITEM_PROPERTY('MAIN_MENU.WINDOW', DISPLAYED, PROPERTY_FALSE);
SET_MENU_ITEM_PROPERTY('MAIN_MENU.WINDOW', ENABLED, PROPERTY_FALSE);


It will work.
Re: Removing window menu from the default menu of the form [message #294562 is a reply to message #294279] Fri, 18 January 2008 00:33 Go to previous messageGo to next message
misragopal
Messages: 125
Registered: June 2005
Location: New Delhi, india
Senior Member

One More suggestion :
-> Go to form's window propery.
-> change window_style = DOCUMENT.
-> then change modal = YES.

This will make your form modal and hide window menu.
Re: Removing window menu from the default menu of the form [message #319644 is a reply to message #293997] Mon, 12 May 2008 08:01 Go to previous messageGo to next message
shekhar.salunkhe
Messages: 154
Registered: January 2008
Location: Pune
Senior Member
Hello,
You can remove Window from menu by adding one parameter in formsweb.cfg

useSDI=yes append this parameter at otherparams

Got it..
Re: Removing window menu from the default menu of the form [message #340121 is a reply to message #319644] Mon, 11 August 2008 09:13 Go to previous messageGo to next message
Hany Freedom
Messages: 256
Registered: May 2007
Location: Egypt
Senior Member

shekhar.salunkhe wrote on Mon, 12 May 2008 16:01
Hello,
You can remove Window from menu by adding one parameter in formsweb.cfg

useSDI=yes append this parameter at otherparams

Got it..


I did exactly as you said , but the window menu still remain Sad
Re: Removing window menu from the default menu of the form [message #341417 is a reply to message #340121] Mon, 18 August 2008 18:33 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Then use the 'magic' menu item as detailed further up this thread.

David
Previous Topic: populate list element at run time
Next Topic: How to configure shortkey (f7,f8,10) in forms 91
Goto Forum:
  


Current Time: Sat Dec 10 01:23:26 CST 2016

Total time taken to generate the page: 0.05039 seconds