mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-04 18:58:15 +02:00
MG: added TPopupMenu.OnPopup and SourceEditor PopupMenu checks
git-svn-id: trunk@991 -
This commit is contained in:
parent
dfdb2d1a7e
commit
1c621915e8
@ -217,7 +217,7 @@ begin
|
||||
if not TempPopupMenu.AutoPopup then Exit;
|
||||
// SendCancelMode(nil);
|
||||
TempPopupMenu.PopupComponent := Control;
|
||||
P2 := SmallPointtoPoint(P);
|
||||
P2 := SmallPointToPoint(P);
|
||||
P2 := ClientToScreen(P2);
|
||||
TempPopupMenu.Popup(P2.X, P2.Y);
|
||||
Exit;
|
||||
@ -1769,6 +1769,9 @@ end;
|
||||
|
||||
{ =============================================================================
|
||||
$Log$
|
||||
Revision 1.60 2002/08/17 07:57:05 lazarus
|
||||
MG: added TPopupMenu.OnPopup and SourceEditor PopupMenu checks
|
||||
|
||||
Revision 1.59 2002/08/05 08:56:56 lazarus
|
||||
MG: TMenuItems can now be enabled and disabled
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user