[lazarus] Component writing problems

2005-12-21 Thread Markku Niskanen
Hello, I have been trying to create a simple new component just for the sake of experience and I MUST be real stupid as I get the following backtrace when I try to insert the new component (which has been compiled ok) to the form. The component comes from Delphi and works just fine there. It

Re: [lazarus] Component writing problems

2005-12-21 Thread Mattias Gaertner
On Wed, 21 Dec 2005 20:28:55 +0200 Markku Niskanen [EMAIL PROTECTED] wrote: Hello, I have been trying to create a simple new component just for the sake of experience and I MUST be real stupid as I get the following backtrace when I try to insert the new component (which has been compiled

Re: [lazarus] Component writing problems

2005-12-21 Thread Marc Weustink
Mattias Gaertner wrote: On Wed, 21 Dec 2005 20:28:55 +0200 Markku Niskanen [EMAIL PROTECTED] wrote: procedure TSimpleLine.Resize; begin inherited; paint(); end; Don't call paint in Resize. This will be done automatically. It shouldn't be nesecary there, but if you ever want to repaint,

Re: [lazarus] Component writing problems

2005-12-21 Thread Markku Niskanen
Maybe you can take a look at http://wiki.lazarus.freepascal.org/index.php/RingChart_and_AnalogWatch to see how to create a analogue clock. ;-) Huh? Well, yes... I know there are lots of clocks available :) What I had in mind, really was to convert a simple Delphi freeware component to see

Re: [lazarus] Component writing problems

2005-12-21 Thread Mattias Gaertner
On Thu, 22 Dec 2005 01:30:13 +0200 Markku Niskanen [EMAIL PROTECTED] wrote: Maybe you can take a look at http://wiki.lazarus.freepascal.org/index.php/RingChart_and_AnalogWatch to see how to create a analogue clock. ;-) Huh? Well, yes... I know there are lots of clocks available :) What