Recent

Author Topic: Error when recompiling Lazarus  (Read 139 times)

chtilux

  • Newbie
  • Posts: 3
Error when recompiling Lazarus
« on: September 21, 2022, 11:17:52 am »
Hi,

Lazarus 2.2.2 FPC3.2.2 Win64

I tried to install ZEosDBO with Online Package Manager. package build is ok, but when I recompile Lazarus IDE, I get the error

Quote
sourceeditor.pp(xx,xx)Error:identifier idents no member "CreateNewMenuItem"

The Zeos package is not installed of course.

Code: Pascal  [Select][+][-]
  1.  
  2. { TToolButton_GotoBookmarks }
  3.  
  4. procedure TToolButton_GotoBookmarks.RefreshMenu;
  5. var
  6.   cmd: TIDEMenuCommand;
  7. begin
  8.   for cmd in SrcEditMenuGotoBookmark do
  9.     if cmd <> nil then begin
  10.       cmd.CreateNewMenuItem;
  11.       DropdownMenu.Items.Add(cmd.MenuItem);
  12.     end;
  13.   DropdownMenu.Items.AddSeparator;
  14.   SrcEditMenuPrevBookmark.CreateNewMenuItem;
  15.   SrcEditMenuNextBookmark.CreateNewMenuItem;
  16.   DropdownMenu.Items.Add([
  17.     SrcEditMenuPrevBookmark.MenuItem,
  18.     SrcEditMenuNextBookmark.MenuItem]);
  19. end;

 

TinyPortal © 2005-2018