[lazarus] Splash screen woes

Tony Maro tonym at nlisc.com
Tue Oct 8 13:03:58 EDT 2002


On Mon, 2002-10-07 at 19:48, Mattias Gaertner wrote:
> 
> You are right. The LCL does it also.
> The error is something else.
> Tony, can you plz send me the complete backtrace or an example?

I couldn't reproduce it in a fresh application so I started digging.

What happens is the form receives a RESIZE message before being shown,
but only if it's trying to position the form according to the screen
size.  Other position methods don't seem to trigger this.

Since I create components in the onshow and then rearrange them in the
onresize events it would crap out attempting to move a control that
didn't exist yet because OnShow hadn't been called.

-Tony






More information about the Lazarus mailing list