Thanks PapaBeer72 but that does not resolve the problem.
It should, because I've seen that in my search to resolve it and I've tried it so I'm glad to see it again as a solution.
Perhaps one of the files is corrupted that the compiler generates? I've tried rebuilding the probject (as opposed to just compiling it) and that doesn't change the problem either.
reddarin
Main Topics
Browse All Topics





by: PapaBeer72Posted on 2003-05-10 at 15:01:45ID: 8501818
Hi,
Try code like this for the second form. And don't use the ShowModal method but Show of the second form.
procedure TForm2.FormCreate(Sender: TObject);
var
StyleEx: LongInt;
begin
StyleEx := GetWindowLong(Handle, GWL_EXSTYLE);
SetWindowLong(Handle, GWL_EXSTYLE, StyleEx or WS_EX_APPWINDOW);
end;
Good Coding,
PapaBeer72