Hi, I'm back from Brunch,
thank you for your solutions.
@taazz:
I changed creating/freeing into FormCreate/FormDestroy. It works now as expected.
My explanation: I tried to find out the order of execution: I find out that the popup menu works fine when i call 'popup.popup'. The Method 'ContextPopup' is waiting until Popup-Menu is finished. Then ContextPopup is finished (and Popup destroyed). When Popup menu would be 'alive' it now would executes OnClick-Command. Which is not possible because Menu is not existing after .free.
@howardpc:
I think in Linux OnClick-Action is performed directly from popup.popup. So it works in Linux.
So i have learned: Take care of lifetime of objects/components.
Thank you very much for your help.
With best wishes,
rudi