mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 16:56:03 +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;
|
if not TempPopupMenu.AutoPopup then Exit;
|
||||||
// SendCancelMode(nil);
|
// SendCancelMode(nil);
|
||||||
TempPopupMenu.PopupComponent := Control;
|
TempPopupMenu.PopupComponent := Control;
|
||||||
P2 := SmallPointtoPoint(P);
|
P2 := SmallPointToPoint(P);
|
||||||
P2 := ClientToScreen(P2);
|
P2 := ClientToScreen(P2);
|
||||||
TempPopupMenu.Popup(P2.X, P2.Y);
|
TempPopupMenu.Popup(P2.X, P2.Y);
|
||||||
Exit;
|
Exit;
|
||||||
@ -1769,6 +1769,9 @@ end;
|
|||||||
|
|
||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
$Log$
|
$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
|
Revision 1.59 2002/08/05 08:56:56 lazarus
|
||||||
MG: TMenuItems can now be enabled and disabled
|
MG: TMenuItems can now be enabled and disabled
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user