Hi team,
Up and
And please check this patch here
http://bugs.freepascal.org/view.php?id=17519


On Sat, Apr 13, 2013 at 12:18 PM, Zaher Dirkey <[email protected]> wrote:

> 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;
> -------------------------------------------
>
>
Best Regards
Zaher Dirkey
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to