Whoops, that wasnt showmain you wanted, it was a popup menu item. In the
events page of your tray icon use click event and call the click proc
'Popmenu' use code like the following:
procedure TPRForm.Popmenu(Sender: TObject; Button: TMouseButton;
  Shift: TShiftState; X, Y: Integer);
begin
  PopupMenu1.Popup(X, Y);
end;


You will have to manufacture your PopupMenu1 to suit - thats easy squeezy.

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to