mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 05:59:19 +02:00
POChecker: show popup menu in Graphical Statistics form only on right mouse button click
git-svn-id: trunk@52392 -
This commit is contained in:
parent
c51bc87bab
commit
d467aa5554
@ -150,6 +150,8 @@ var
|
|||||||
anIndex: Integer;
|
anIndex: Integer;
|
||||||
AStat: TStat;
|
AStat: TStat;
|
||||||
CurrScreenPoint: TPoint;
|
CurrScreenPoint: TPoint;
|
||||||
|
begin
|
||||||
|
if Button = mbRight then
|
||||||
begin
|
begin
|
||||||
anItem := Listview.GetItemAt(X, Y);
|
anItem := Listview.GetItemAt(X, Y);
|
||||||
if Assigned(anItem) then
|
if Assigned(anItem) then
|
||||||
@ -161,6 +163,7 @@ begin
|
|||||||
ContextPopupMenu.PopUp(CurrScreenPoint.X, CurrScreenPoint.Y);
|
ContextPopupMenu.PopUp(CurrScreenPoint.X, CurrScreenPoint.Y);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TGraphStatForm.POEditorMenuItemClick(Sender: TObject);
|
procedure TGraphStatForm.POEditorMenuItemClick(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user