Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2008 Jul : Strange TForm behaviour with wsMaximized

www.cryer.info
Managed Newsgroup Archive

Strange TForm behaviour with wsMaximized

Subject:Strange TForm behaviour with wsMaximized
Posted by:"Uwe" (forspammers@no.ne)
Date:Thu, 10 Jul 2008 22:54:27 -0700

My main form was set to position := poDesigned, scaled := false, WindowState
:= wsMaximized. When the program was run, the form opened to its maximized
state without any visible delay. Somehow though, I must have changed the
position to poScreenCenter accidentally, compiled and then saved the whole
project. When I noticed my mistake, I reset the position back to poDesigned,
compiled and saved again.

Since then my program shows some weird behaviour. When I start the
application, the main form appears at its designtime position first with its
designtime width and height, stays in this state long enough to notice it,
and then maximizes. Before this was not recognizable.

Has anybody seen this behaviour before?

Thx
Uwe

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive