Making the program POP UP.

Posted by James McLain on March 28, 2001 at 07:47:25:

There seems to be a bug in the FormState property or forms. I have an app that I would like to POP UP. Setting the window stat to fsNormal, does nothing if the form is minimized. But changing to fsMaximized does work. So what I am doing in my code is making the form invisible, maximizing it, and the normalizing it, the making it visible again. This works BUT. For some reason after I do this, the minimize button on the form doesn't work anymore. Anyone know why this is, and how I can correct it? Here's my code:

If not then
Convo.Visible := false;
Convo.WindowState := wsMaximized;
Convo.WindowState := wsNormal;;

convo is the name of the form I'm poping up.

Related Articles and Replies: