On Tue, Oct 28, 2008 at 4:42 PM, Valdas Jankūnas <[EMAIL PROTECTED]> wrote: > // when form appears > procedure TfrMain.FormShow(Sender: TObject); > const > SHOWED_FIRST_TIME: Boolean=False;
Does this work? If this was a variable this surely wouldn't work, because it's scope would be local to the procedure. -- Felipe Monteiro de Carvalho _______________________________________________ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus