Thanks Tom, it works. It's old Delphi habit, when you can use TWinControl
and design a new control from buttom. But TCustomControl is fine, and I'll
work with that ;-)

/Normann

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom Gregorovic
Sent: 30. maj 2008 13:15
To: General mailing list
Subject: Re: [Lazarus] Carbon: Simple component in a simple package with
strange behavior
[snip]

Hi,
each TWinControl descendant needs to have implemented creation of
underlying Carbon control. If you want to use generic TWinControl, you
have to choose TCustomControl.

Tom
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to