Ok, I have one form (frmSplash) that carries out a load of processing to check various datafiles are correct. If it finds an error, it needs to open another form (frmNoMaster) and stop what it's doing until the user has finsihed with the other form. At the moment, I have
frmSplash.Hide;
frmNoMaster.Show;
frmSplash.Enabled := False;
And
frmSplash.Enabled := True;
when needed in frmNoMaster, but it just continues with what it was doing. I tried
frmSplash.Hide;
frmNoMaster.Show;
Repeat
Until Tag = 4;
on frmSplash and set it to that in frmNoMaster, but the second form never got displayed because the loop ate up all the processing ability of the program (though not of my comp obviously).
Any ideas?
frmSplash.Hide;
frmNoMaster.Show;
frmSplash.Enabled := False;
And
frmSplash.Enabled := True;
when needed in frmNoMaster, but it just continues with what it was doing. I tried
frmSplash.Hide;
frmNoMaster.Show;
Repeat
Until Tag = 4;
on frmSplash and set it to that in frmNoMaster, but the second form never got displayed because the loop ate up all the processing ability of the program (though not of my comp obviously).
Any ideas?