– Yes, it seems to be the same issue. :a1:
– It appears, VirtualTree does not supports properly 8-bit alpha channels at all.
– But how can it be, that there was no such problems with version with AC v14.19 ?
– Can you recommend a line of code that circumvents the problem?
(I'm thinking about: overriding VTV's paint procedure by calling YOURS!)
Code:
procedure TBaseVirtualTree.PaintImage(var PaintInfo: TVTPaintInfo; ImageInfoIndex: TVTImageInfoIndex; DoOverlay: Boolean);
begin
… ? >> calling AlphaSkin's TsVirtualImageList's draw method
Exit;
or… instead of modifying the source of it > I could disallow the component to draw the images, and use OnAfterItemPaint:
Code:
procedure TForm1.VSTAfterItemPaint(Sender: TBaseVirtualTree; TargetCanvas: TCanvas; Node: PVirtualNode; ItemRect: TRect);
begin
// ???
end;
(It would be a “nice” method, but would make step-by-step code debugging nearly impossible. )