Hi folks --
 
When I start my app with:

Data:=TData.Create(Application);
Application.Title := 'Performance Gradebook';
Application.CreateForm(TfrmMain, frmMain); 
Application.Run;

everything works fine. (Data is a DataModule.)
 
However, when I add a splash screen I run into problems:

Data:=TData.Create(Application);
frmSplashScreen := TfrmSplashScreen.Create(nil);
try
  frmSplashScreen.Show;
  Application.Initialize;
  frmSplashScreen.Update;
  Application.Title := 'Performance Gradebook';
  Application.CreateForm(TfrmMain, frmMain); 
  frmSplashScreen.Hide;
 finally
   frmSplashScreen.Free;
 end;
 Application.Run;
 
The problem relates specifically to users with dual monitors--see the subject 
line; it's in the Forms unit in the TCustomForm.SetWindowToMonitor block. I've 
never really used two monitors before, so I'm kind of lost in terms of what is 
happening. Do you have any thoughts?
 
Thanks, as always -- Al C.
_________________________________________________________________
Get your vacation photos on your phone!
http://windowsliveformobile.com/en-us/photos/default.aspx?&OCID=0809TL-HM
_______________________________________________
Delphi mailing list -> Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to