Author Topic: TMainMenuComponentEditor: Invalid floating point operation  (Read 331 times)


  • New member
  • *
  • Posts: 26
TMainMenuComponentEditor: Invalid floating point operation
« on: June 20, 2019, 07:36:48 am »
Hi all,

I converted a delphi project to lazarus under linux. Convertion went acceptably smooth, the program runs and all works but... at a certain point I decided to modify my main menu. The menu editor does not show up and, instead, this message rises up:

Class component editor "TMainMenuComponentEditor" raised the error "Invalid floating point operation"

(my message is in italian, I quote it in english - maybe inaccurate).

I also have a TPopupMenu which works flawlessly; I've take a look at the LFM file and it has nothing strange in it, the two menus (main and popup) are in there.

What the heck? What could I try? Of course I can edit mainmenu by hand in the LFM... but this is strage problem!