delphi - How do I put color on a virtual string tree node? -


Is it possible to see this for the virtual string tree?

I really need help on this because I'm new to Delphi.

You can put something in the OnBeforeCellPaint event example:

  Process TForm1.VirtualStringTree1BeforeCellPaint (From: TBaseVirtualTree; TargetCanvas : TCanvas; Node: PVirtualNode; Column: TC Columnindex; Selpentamode: TV TCEP PaintMode; Cellrect: Tract; var Content Retract: TRCT;); Start CellRect.Left: = CellRect.Lift + 20; TargetCanvas.Brush.Color: Cloilom; TargetCanvas.RoundRect (cellrext, 5, 5); InflateRect (ContentRect, -1, -1); End;  

You must give a rough approximation of what's in the picture ...

N @


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -