Hey Alan, you could always do it my way. NEVER define a panel...
Just create a "panel_action" function that creates the panel with pan_create, and arranges its position, size and all its buttons etc. Then this panel_action STAYS RUNNING, watching for a resolution change, and then re-arranges itself if there was a resolution change.
Works for me...
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial