You've already forked lazarus-ccr
* Update header state when mouse leaves control
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2581 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -10109,6 +10109,15 @@ begin
|
|||||||
hsHeightTracking, hsHeightTrackPending];
|
hsHeightTracking, hsHeightTrackPending];
|
||||||
end;
|
end;
|
||||||
// hovering, mouse leave detection
|
// hovering, mouse leave detection
|
||||||
|
CM_MOUSELEAVE:
|
||||||
|
with FColumns do
|
||||||
|
begin
|
||||||
|
if FHoverIndex > NoColumn then
|
||||||
|
Invalidate(Items[FHoverIndex]);
|
||||||
|
FHoverIndex := NoColumn;
|
||||||
|
FClickIndex := NoColumn;
|
||||||
|
FDownIndex := NoColumn;
|
||||||
|
end;
|
||||||
//todo: see the difference to below
|
//todo: see the difference to below
|
||||||
LM_MOUSEMOVE:
|
LM_MOUSEMOVE:
|
||||||
with TLMMouseMove(Message), FColumns do
|
with TLMMouseMove(Message), FColumns do
|
||||||
|
Reference in New Issue
Block a user