易
易名烦
Unregistered / Unconfirmed
GUEST, unregistred user!
PROCEDURE TFrmain.MShowWindow(WinNAME:STRING;WIN:TFORM;WINCOMP:TCOMPONENTCLASS);
Begin
IF APPLICATION.FindComponent(WINNAME)<>NIL THEN
BEGIN
WIN.Show;
EXIT;
END;
APPLICATION.CreateForm(WINCOMP,WIN);
WIN.Show;
End;
我用 MSHOWWINDOW('FRSETUP',FRSETUP,TFRSETUP);调用时出错在WIN.SHOW这一行!
Begin
IF APPLICATION.FindComponent(WINNAME)<>NIL THEN
BEGIN
WIN.Show;
EXIT;
END;
APPLICATION.CreateForm(WINCOMP,WIN);
WIN.Show;
End;
我用 MSHOWWINDOW('FRSETUP',FRSETUP,TFRSETUP);调用时出错在WIN.SHOW这一行!