* Set message result in BUTTONUP event in header. Fixes issue 26388

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3417 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
blikblum
2014-08-03 15:29:36 +00:00
parent b23e55d39e
commit f10b177f03
2 changed files with 2 additions and 0 deletions

View File

@ -10007,6 +10007,7 @@ begin
Menu.PopupComponent := Treeview;
P := Treeview.ClientToScreen(Point(XPos, YPos));
Menu.Popup(P.X, P.Y);
Message.Result := 1;
HandleMessage := True;
end;
end;

View File

@ -10566,6 +10566,7 @@ begin
P := Treeview.ClientToScreen(Point(XPos, YPos));
Menu.Popup(P.X, P.Y);
HandleMessage := True;
Message.Result := 1;
end;
end;
end;