EnableItem
EnableItem

Enables a menu item

bSuccess = myMainMenu.EnableItem( Item_Name )

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

Parameters
  • Item_Name
    The name (ID) of the item to enable.
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