TVTHeader.DetermineSplitterIndex Method

Virtual Tree View

Tries to find the index of that column whose right border corresponds to P.

Pascal
function DetermineSplitterIndex(P: TPoint): Boolean; virtual;
Description

Result is rrue if column border was hit (with -3..+5 pixels tolerance). For continuous resizing the current track index and the column's left border are set.

Notes

The hit test is checking from right to left to make enlarging of zero-sized columns possible.

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