Purpose
Returns enabled state of a Menu Command ID. You can call this function from the MapBasic window in MapInfo Pro.
Syntax
MenuItemEnabled(menuitem_ID)
Return Value
Function returns TRUE if a run menu command is enabled, FALSE if it is not.