it is possible as long as your function is "alive"
just create your panel with pan_create and add objects to it with the pan_set* functions
but don't forget to delete the panel before exiting the function


Visit my site: www.masterq32.de