Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by Zacherl,
6. Apr 2016
I can't even see the actual VirtualStringTree control on this picture :pale: Is it the gradient thingy in the background?
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by Zacherl,
6. Apr 2016
So you want to make the cell transparent? I don't think that's possible at all :/ There might be a hacky way by manually drawing the contents of the parent canvas before printing the text, but I never saw something like that in action.
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by Zacherl,
6. Apr 2016
What exactly are you trying to do?
You can set a custom color for each row like this:
procedure TfrmMain.EditorTreeBeforeItemErase(Sender: TBaseVirtualTree; TargetCanvas: TCanvas;
Node: PVirtualNode; ItemRect: TRect; var ItemColor: TColor; var EraseAction: TItemEraseAction);
begin
EraseAction := eaColor;
ItemColor := clBlue;
end;