[lazarus] Custom LCL components still bugging me

Tony Maro tony at maro.net
Fri Nov 15 14:58:19 EST 2002

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...


More information about the Lazarus mailing list