unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, StdCtrls; type TForm1 = class(TForm) Button1: TButton; PopupMenu1: TPopupMenu; fgh1: TMenuItem; drg1: TMenuItem; dg1: TMenuItem; pro…