Tag Archives: Delphi error

Delphi error: raised exception class Elisterror with message “list index o ut of bounds(0)” The array is out of bounds

//———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.