Home » Developer & Programmer » Forms » Disable Menu
Disable Menu [message #227852] Thu, 29 March 2007 17:19 Go to next message
vamsik
Messages: 15
Registered: February 2007
Junior Member
Hi Frds,

I have a menu likethis.

ONE TWO THREE FOUR
1 2 3 4
5 6 7 8
9 10 11 12

Now i want to disable second sub optiom(TWO)..so that i can stop all the following sub menu items too.as of now i am using following command to disable individual menu items.

Set_menu_item_property('TWO_MENU.2',ENABLED,PROPERTY_FALSE);
Set_menu_item_property('TWO_MENU.6',ENABLED,PROPERTY_FALSE);
Set_menu_item_property('TWO_MENU.10',ENABLED,PROPERTY_FALSE);

How cani stop "TWO" menu option directly with one command line?

Thanx in advance.

[Updated on: Fri, 30 March 2007 13:43]

Report message to a moderator

Re: Disable Menu [message #227853 is a reply to message #227852] Thu, 29 March 2007 17:29 Go to previous messageGo to next message
vamsik
Messages: 15
Registered: February 2007
Junior Member
Hi frds,
I got the solution.
Thx.
Re: Disable Menu [message #227863 is a reply to message #227853] Thu, 29 March 2007 19:28 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Please post it.

David
Re: Disable Menu [message #227981 is a reply to message #227863] Fri, 30 March 2007 09:21 Go to previous messageGo to next message
vamsik
Messages: 15
Registered: February 2007
Junior Member
I used like this..
Set_Menu_Item_Property('MENU_ID.TWO',ENABLED,PROPERTY_FALSE);
Thanks.
Re: Disable Menu [message #227985 is a reply to message #227981] Fri, 30 March 2007 09:32 Go to previous messageGo to next message
Frank
Messages: 7880
Registered: March 2000
Senior Member
How come you did not get a compilation error on PRPERTY_FALSE in the first place??
Re: Disable Menu [message #228011 is a reply to message #227985] Fri, 30 March 2007 13:44 Go to previous message
vamsik
Messages: 15
Registered: February 2007
Junior Member
Thats a spell mistake. Now edited.
Previous Topic: An image on a form
Next Topic: Annoying form pop ups with FRM-42401 messages.
Goto Forum:
  


Current Time: Fri Dec 09 09:52:49 CST 2016

Total time taken to generate the page: 0.16128 seconds