button1Click frmSecret.Panel1.Parent := frmMain.ScrollBox1; frmSecret.Panel1.Left := ax[n]; frmSecret.Panel1.Top := ay[n];