[lazarus] Problem adding a tab when TNotebook is visible

Marc Weustink weus at quicknet.nl
Fri Feb 25 19:01:37 EST 2000


At 13:27 25-02-2000 -0600, Shane wrote:
>I have looked at this problem and need help.
>If I run lazarus and press PROJECT - NEW the dialog appears with unit1 in 
>it.  If I go and press FILE - NEW UNIT then it crashes.
>I've traced it but lost it somewhere in gtk.  It makes it all the way out 
>of my code and crashes trying to do some event in gtk.
>
>Any help?

Ok I racked down the problem. It has to do with the way pages are added. 
After a page has been added (in delphi) it receives focus. We do the same, 
only the page isn't added yet ;-).
As a temp solution I removed (and committed) this, and I'm looking for a 
way to handle the focus.

Marc






More information about the Lazarus mailing list