You could try passing the Panel as a pointer? Then you can reference it and use the panel you passed..

Hope it helped!
Adoado


Visit our development blog: http://yellloh.com