Aha! I have got it! You stick #PREPOPUP in the start up code of the menu and this tells the genmenu program to put the clean up code before the 'activate popup' command.
Thanks MS for not having any of this in the help files! Tristan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tristan Leask Posted At: 28 September 2006 13:57 Posted To: Profox Archive Conversation: Cleanup code and Popup menus Subject: RE: Cleanup code and Popup menus Just found something interesting... http://support.microsoft.com/kb/q162800/ Now I just need to figure out how this works! Tristan -------------------------------------------------------------------------------------------------------------- This email was sent to [EMAIL PROTECTED] Unless otherwise agreed expressly in writing by Marine Software Limited, this communication and attachments are to be treated as confidential and the information in it may not be used or disclosed except for the purpose for which it was sent. If you are not the intended recipient of this communication you should destroy it without copying, disclosing or otherwise using its contents. Please notify the sender immediately of the error. [EMAIL PROTECTED] ------------------------------------------------------------------------------------------------------------------ _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

