
09.07.2009, 12:03
|
Активный
|
|
Регистрация: 29.03.2009
Сообщения: 300
Репутация: 94
|
|
Код:
procedure TForm1.FormMouseUp(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
if Button = mbRight then
TrackPopupMenu(PopupMenu1.Handle, TPM_RIGHTALIGN, Mouse.CursorPos.X,
Mouse.CursorPos.Y, 0, PopupList.Window, nil);
end;
|