//———Login is successful, mark the logged-in user name on the status bar of the management form—————
manage.Visible:=true;
/ /manage.StatusBar1.Panels[0].Text:=user;
login.Hide;
Because the Panels[0].Text form under StatusBar1 under the manage form does not exist, the call reports an error
Use the manage form source form to perform an alternative method to find the source of the problem.