我解决的办法是将FORM表的创建顺序移动就行了。
Application.Initialize;
Application.CreateForm(TPasswordDlg, PasswordDlg);//移动后这条语句先执行
Application.CreateForm(TForm1, Form1);
Application.CreateForm(TForm2, Form2);
Application.CreateForm(TForm3, Form3);
Application.CreateForm(TOKRightDlg, OKRightDlg);
Application.CreateForm(TQRListForm, QRListForm);
Application.CreateForm(TOKRightDlg1, OKRightDlg1);
Application.CreateForm(TOKRightDlg2, OKRightDlg2);
Application.CreateForm(TForm4, Form4);
Application.CreateForm(TOKBottomDlg, OKBottomDlg);
Application.CreateForm(TOKRightDlg3, OKRightDlg3);
Application.CreateForm(TForm5, Form5);
Application.CreateForm(TForm6, Form6);