Hi
Before i post a bug
In Windows/WinCE is Menu ID (MenuItem.Commad) is Zero based? By my logic ID must be start from 1, zero mean no ID or Command
In Menus unit MenuItem.inc line 110
-------------------------------------------
FCommand := UniqueCommand;
-------------------------------------------
UniqueCommand started from 0
Look at line 209 when destroying the menu item, zero here not set to false. -------------------------------------------
if FCommand 0 then CommandPool[FCommand] := False; -------------------------------------------
