If a user opens a second window, the shown table and custom menu is the same as in the original window.
If the user then navigates to an other table ( by a script in the menu bar) the menu will change to a customized one for this table (also by the script in the menu).
The first window still shows the original table, but the custom menu is for the table in the second window.
Is there any solution that the menu changes by clicking on a window?
Many thanks for any suggestion,