TVTPaintInfo Record

Virtual Tree View

Not documented.

Pascal
TVTPaintInfo = record
  Canvas: TCanvas;
  PaintOptions: TVTInternalPaintOptions;
  Node: PVirtualNode;
  Column: TColumnIndex;
  Position: TColumnPosition;
  CellRect: TRect;
  ContentRect: TRect;
  NodeWidth: Integer;
  Alignment: TAlignment;
  BidiMode: TBidiMode;
  BrushOrigin: TPoint;
  ImageInfo: array[TVTImageInfoIndex] of TVTImageInfo;
  end;
Description

Use other resources like the news group or the Delphi Gems message board to find a description.

Members
Members 
Description 
Canvas: TCanvas; 
the canvas to paint on 
PaintOptions: TVTInternalPaintOptions; 
a copy of the paint options passed to PaintTree 
Node: PVirtualNode; 
the node to paint 
Column: TColumnIndex; 
the node's column index to paint 
Position: TColumnPosition; 
the column position of the node 
NodeWidth: Integer; 
the actual node width 
Alignment: TAlignment; 
how to align within the node rectangle 
BidiMode: TBidiMode; 
directionality to be used for painting 
BrushOrigin: TPoint; 
the alignment for the brush used to draw dotted lines 
ImageInfo: array[TVTImageInfoIndex] of TVTImageInfo; 
info about each possible node image 
Group
File

VirtualTrees

Links
What do you think about this topic? Send feedback!