* Fix GetHitTestInfoAt when the header is visible

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@917 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
blikblum
2009-07-18 18:40:36 +00:00
parent 8206c61bd6
commit 0d0c4e4c5d

View File

@ -27023,10 +27023,11 @@ begin
if X > Max(FRangeX, ClientWidth) then
Include(HitInfo.HitPositions, hiToRight);
//lclheader
if Y < 0 then
Include(HitInfo.HitPositions, hiAbove)
else
if Y > Max(FRangeY, ClientHeight) then
if Y > Max(FRangeY, inherited GetClientRect.Bottom) then
Include(HitInfo.HitPositions, hiBelow);
// Convert position into absolute coordinate if necessary.