hi
My program has always being able to hide from view and I also add minimized and ShowinTaskbar=stNever , recently however I have added a function/procedure that is called from Form activate which checks to make sure that the database connection will work and while this has been added the problem has occurred.
What happens instead is that the form minimizes but the program does not move forward in the code, so to speak,until it has been maximized and then it hides and the program continues.
I have probably gone a bit made with adding
form1.WindowState:=wsMinimized;
//do not show application in taskbar
form1.ShowInTaskBar:=stNever;
//hide the form
form1.WindowState:=wsMinimized;
form1.Hide;
In all areas possible but to no avail. The function/procedure runs try except finally routines if this is any clue.
I suspect it might have something to do with the form not be full visible ? but not sure how to get around this.
Thanks
TimCS