My short answer, and please correct me if I'm wrong, is that it's not possible. I had so may fun & games a while back trying to do the same thing. It appears to be a limitation of the Win API menus that Delphi wraps. I had to do some horrible hack to simulate this but can't remember what, or where it is now. Will have a quick dig around for it now.
Chris -----Original Message----- From: Jason Coley [mailto:Jason@;software-solutions.co.nz] Sent: Monday, 21 October 2002 4:16 p.m. To: Multiple recipients of list delphi Subject: [DUG]: How to add an OnClose event to a TPopup menu? Does anyone know how to add an OnClose event to a TPopup menu? Regards Jason --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/