On Fri, 29 Dec 2006, Michael Van Canneyt wrote:

> 
> 
> On Fri, 29 Dec 2006, Dave Coventry wrote:
> 
> > Ok, if I need to declare something when the program is starting up, where
> > would I put it?
> > 
> > I'm placing all my initialisation stuff in FormCreate, and all my 
> > housekeeping
> > in FormClose.
> > 
> > Clearly I need to re-evaluate this if FormResize comes before FormCreate.
> 
> No, your reasoning is correct.
> 
> The Lazarus behaviour is inconsistent with Delphi. During loading of
> properties, the OnResize event should not be triggered. 
> 
> In Delphi, the order of the events is respected.

Some additional info for the lazarus devels. 

The order of the relevant events in Delphi when creating and showing a form is:

  OnCreate
  OnShow
  OnActivate
  OnResize

Michael.

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to