IsItemDisabled
IsItemDisabled

Checks if an item is disabled

bDisabled = myMainMenu.IsItemDisabled( Item_Name )

Return value
TRUE if the item is disabled, otherwise FALSE.

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

If there are multiple items in the menu with the same ID, this will check only the first (left-right, top-bottom).

See also
MainMenu:DisableItem
MainMenu:EnableItem
MainMenu:GetItemState



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