[lazarus] TMenuItem Delphi incompatibility

Martin Smat martin.smat at tiscali.cz
Sat Nov 15 13:54:59 EST 2003

in LCL is declared property TMenuItem.Graphic:  TGraphic;
in Delphi is declared property TMenuItem.Bitmap: TBitmap;

In Lazarus is not possible to get the icon handle without typecasting 
(menuitem.Graphic as TBitmap).Handle;

Can it be changed or has it any reason?

Martin Smat.

More information about the Lazarus mailing list