TVTHeader.Invalidate Method

Virtual Tree View

Invalidates the entire header or parts of it so they are repainted.

Pascal
procedure Invalidate(Column: TVirtualTreeColumn; ExpandToRight: Boolean = False);
Description

Because the header is in the non-client area of the tree it needs some special handling in order to initiate its repainting. If ExpandToRight is true then not only the given column but everything to its right will be invalidated (useful for resizing). This makes only sense when a column is given.

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