Fixed: Hello WAS: Re: [lazarus] Editor crashing when adding text

Marc Weustink weus at quicknet.nl
Mon Dec 6 20:08:08 EST 1999


At 17:27 06-12-99 -0500, you wrote:
>Marc Weustink wrote:
>> 
>> I assumed that is was placed outside the screen. That part is fixed. I
>> think you have another problem.
>> Can you mail me the exe ?
>
>You can build it yourself. Go into /lazarus/examples and do a
>   "make hello"
>
>This should have a button in the very middle of the window that says
>"Close".
>

Ah, thats an easy one.

Since now (or for while), to show a control is has to have at least a
Parent. In the past the owner was erroneous used as a parent. (The owner is
the VCL/LCL class owner, not the graphical owner). Thats why the button
doid show up in the past and didnt till now.
(You can try to create a button without parent in Delphi!)

Marc








More information about the Lazarus mailing list