cannot compile BGRAControls in bodhilinux lazarus / 13-General ---------------------------------------------------------------------- Blue1987 · 2012-08-06 13:30 hi everyone... I have the following problem. I swiched from windows to linux (in particular bodhilinux, which is a lightweight distro of ubuntu) I tried to install bgracontrols as I always did in windows... first I took the last packages from http://wiki.freepascal.org/BGRAControls then I loaded bgrabitmap package, compiled it and installed it (rebuilding the IDE) then I loaded bgracontrols package, but when I tried to compile it it come out the following message: Code: [Select]/home/paolo/.lazarus/components/bgracontrols- 1.4.0.1/bgraimagelist.pas(68,15) Error: There is no method in an ancestor class to be overridden: "TBGRAImageList.Draw(TCanvas,LongInt, LongInt,LongInt,TDrawingStyle,TImageType,TGraphicsDrawEffect);" and I could not go on... ... any suggestion? thank you, Paolo ---------------------------------------------------------------------- Dibo · 2012-08-06 14:58 Hi, On linux (GTK interface) bgra controls need lazarus from SVN, because TBGRAImageList have patch for GTK alpha (this component activate alpha if is assigned to such controls like TToolBar, TTreeView etc.). If you don't need this functionality, just edit bgraimagelist.pas and comment / delete this block of code which is on top: Code: [Select]{$IFDEF LCLgtk}   {$DEFINE BGRA_DRAW} {$ELSE}   {$IFDEF LCLgtk2}     {$DEFINE BGRA_DRAW}   {$ENDIF} {$ENDIF}  After this,TBGRAImageList will behave like normal TImageList Regards ---------------------------------------------------------------------- Blue1987 · 2012-08-06 17:30 Great! Now it works!!