Just found something interesting... http://support.microsoft.com/kb/q162800/
" Updates the #PREPOPUP generator directive functionality. This directive, for use only with shortcut menus, allows you to control where the ACTIVATE POPUP command is placed in relation to the generated cleanup code. By default, ACTIVATE POPUP precedes any cleanup code. To run code before the ACTIVATE POPUP command, such as code to mark a menu item before it displays, use #PREPOPUP. With this version of GENMENU, you can place the #PREPOPUP directive in the setup code, as before, or, for more flexibility, in the cleanup code. If #PREPOPUP is used in the setup code, ACTIVATE POPUP will follow any cleanup code. So, if you defined a procedure or function in the cleanup code, an error would be generated. This problem can be avoided if #PREPOPUP is used in the cleanup code, because the ACTIVATE POPUP command is placed at the exact #PREPOPUP location." 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.

