A project I am working on has a TLMDSimplePanel which needs to have AllowMoving and AllowSizing (with size grip) set to True. It also needs to use a PopupMenu.
I've noticed that if AllowMoving is set to True, then the PopupMenu's AutoPopup feature doesn't seem to work. I've tried various implementations using combinations of OnMouseDown, OnMouseActivate, and OnContextPopup, but none have fully worked properly.
What is the best way to implement having AllowMoving set to True, while also using a PopupMenu on the same panel?