[lazarus] Custom LCL components still bugging me

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Fri Nov 15 15:16:39 EST 2002




On 15 Nov 2002, Tony Maro wrote:

> On Fri, 2002-11-15 at 14:02, Tony Maro wrote:
> > Wow, that's it... I've learned more about how Lazarus creates forms than
> > I ever wanted to.  ;-)
> >
> > When you add this unit to the form, for some reason the form sets
> > visible := True explicitly declared in the .lfm (and .lrs of course)
> >
> > If I add the esdsound unit and EXPLICITLY set the visible property of
> > the form to false in the designer, the problem does not occur.
> >
>
> I REALLY feel like I'm carrying on a conversation with myself now...
> sorry I didn't shove all this info into one mail, BUT, thought you'd
> need like to know that every time I open the project the frmmain.visible
> property is set back to visible.  As long as I set that property to
> false before I build, the application runs.  If I don't the frmmain
> variable is invalid when the app runs.
>
> Now, I KNOW that property probably should be true, but maybe this info
> will help you guys get closer to the root of the problem...

Wasn't there some problem with reading and writing of boolean properties in
one of the earlier versions of Lazarus ? maybe this is still a consequence ?

Michael.







More information about the Lazarus mailing list