LCL 1.9 Questions lazarus / 31-LCL ---------------------------------------------------------------------- lainz · 2018-02-08 13:34 Hi, I have a component BGRAImageList that fixes basically the alpha channels of the regular ImageList on Linux. I did not code that component, but I'm the one that updates the package. Sources: https://github.com/bgrabitmap/bgracontrols/blob/master/bgraimagelist.p as It works fine in 1.8, but in trunk there are changes like: 1.8 TCustomImageList = class(TLCLReferenceComponent) 1.9 is TCustomImageList = class(TLCLComponent), so the method ReferenceNeeded is not available. Questions: - What does ReferenceNeeded, and if it is necessary on 1.9. Another is this: 1.8 Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure Draw(ACanvas: TCanvas; AX, AY, AIndex: Integer; ADrawingStyle: TDrawingStyle; AImageType: TImageType;      ADrawEffect: TGraphicsDrawEffect); overload; virtual; 1.9 Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure Draw(ACanvas: TCanvas; AX, AY, AIndex: Integer; ADrawingStyle: TDrawingStyle; AImageType: TImageType;      ADrawEffect: TGraphicsDrawEffect); overload; In 1.9 the virtual was removed and I can't use override anymore. My question is if the method still will be called instead of the LCL one in 1.9 without using override. I know this is a basic of OOP but I need a bit of help because I never use virtual and overload. Another question: If I remove override to compile in 1.9, what happens in 1.8? I never use IFDEF LCL_FULLVERSION and don't know how to use it, any chances to have 2 different methods, one with override and other without, one for 1.8 and one for 1.9 or newer? ---------------------------------------------------------------------- balazsszekely · 2018-02-08 13:58 Hi lainz, There is a new feature in Lazarus trunk, namely HighDPI imagelist, for more info please read here : http://free-pascal- lazarus.989080.n3.nabble.com/Lazarus-High-DPI-TImageList- td4053834.html  I did not study all the details, so I cannot answer to specific questions, but Ondrej(the author) regularly visits the forum,  or you can ask question in the mailing list. ---------------------------------------------------------------------- lainz · 2018-02-08 15:04 Quote from: GetMem on February 08, 2018, 02:58:01 pmHi lainz, There is a new feature in Lazarus trunk, namely HighDPI imagelist, for more info please read here : http://free-pascal- lazarus.989080.n3.nabble.com/Lazarus-High-DPI-TImageList- td4053834.html  I did not study all the details, so I cannot answer to specific question, but Ondrej(the author) regularly visits the forum,  or you can ask question in the mailing list. Thanks. I suscribed and sent a message there.