DisableItem
DisableItem

Disables a menu item

bSuccess = myMainMenu.DisableItem( Item_Name )

Return value
TRUE if the item was disabled successfully, otherwise FALSE.

Parameters
  • Item_Name
    The name (ID) of the item to disable.
Comments

If there are multiple items in the menu with the same ID, this will effect all of them.

See also
MainMenu:DisableItem
MainMenu:IsItemDisabled
MainMenu:GetItemState



JAM © 2005 no one in partiular
Project started by David Evans in 2005