🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.nativeapi.win32
4 messages
4 total messages Started by Uwe Fri, 11 Jul 2008 05:54
Strange TForm behaviour with wsMaximized
#174
Author: Uwe
Date: Fri, 11 Jul 2008 05:54
16 lines
1687 bytes
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 
Re: Strange TForm behaviour with wsMaximized
#176
Author: Mark Tiede
Date: Fri, 11 Jul 2008 14:17
24 lines
1891 bytes
Uwe,

   Try opening up the form in text mode and look around for some other saved 
properties that might be cause extra things to get executed.


"Uwe" <forspammers@no.ne> wrote in message 
news:4876f5a0$1@newsgroups.borland.com...
> 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 
Re: Strange TForm behaviour with wsMaximized
#177
Author: Uwe
Date: Fri, 11 Jul 2008 15:17
12 lines
1471 bytes
Hi Mark

> Try opening up the form in text mode and look around for some other saved 
> properties that might be cause extra things to get executed.

Thanks for the hint, but that's of course one thing I did before I posted 
here. I even looked for the old "VerticalScrollBar" bug, but nothing has 
been added to the dfm. Any other ideas?

D2007 Pro/ Vista Home Premium 32bit, all updates applied

Uwe 
Re: Strange TForm behaviour with wsMaximized
#178
Author: Mark Tiede
Date: Fri, 11 Jul 2008 17:48
19 lines
1491 bytes
Uwe,

   Sorry, nope...


"Uwe" <forspammers@no.ne> wrote in message 
news:487779a0$1@newsgroups.borland.com...
> Hi Mark
>
>> Try opening up the form in text mode and look around for some other saved 
>> properties that might be cause extra things to get executed.
>
> Thanks for the hint, but that's of course one thing I did before I posted 
> here. I even looked for the old "VerticalScrollBar" bug, but nothing has 
> been added to the dfm. Any other ideas?
>
> D2007 Pro/ Vista Home Premium 32bit, all updates applied
>
> Uwe 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads