Property of Menu Items Assignment Help

Assignment Help: >> Menus - Property of Menu Items

Checked, Enabled and Displayed Property of Menu Items:

The displayed, checked and enabled property specifies the state of the menu item. There are the three properties explained that are given below.

Checked Property:

Specifies the state of a radio-style or check-box menu item, either UNCHECKED or CHECKED. This  property  is  set  programmatically  only  for  the  menu  items  with  the  Menu  Item  Type property set to Radio or Check.

Enabled Property:

It specifies whether the menu item could be displayed as an enabled (normal) item or disabled (grayed) item. That property of menu item is set programmatically.

Displayed Property:

It determines whether the menu item is visible or hidden at runtime or not. This property is set programmatically.

Getting the Value of the Menu Property:

The state of the menu item for the above three properties can be obtained by using the subsequent functions:

get_menu_item_property (menuitem_id, property)

get_menu_item_property (menu_name.menuitem_name, property)

The above function returns the state of the menu item provide the specific property. The return value is either it is TRUE or FALSE depending on the state of property that is if above function is used to check the enabled property of menu item then it returns TRUE if the menu item is enabled and FALSE if it is disabled.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd