Creating my first Lazarus component lazarus / 31-LCL ---------------------------------------------------------------------- Curt Carpenter · 2011-08-18 15:24 I'm just learning to use Lazarus, and want to create my first LCL component so I can get a handle on the basics.  Can anyone recommend a -really- simple component example that I might follow?   (I've built a package with one component as described in the Lazarus tutorial already, and tried a few Delphi-to-LCL conversions (with no success so far)).  I'd like to build a component that descends from TPanel and changes color when clicked.  Very simple, but should illustrate all of the elements involved and give me an idea of where I'm going wrong with my conversion efforts. Recommendations/suggestions appreciated. Thanks! ---------------------------------------------------------------------- Leledumbo · 2011-08-18 15:41 http://wiki.lazarus.freepascal.org/How_To_Write_Lazarus_Component ---------------------------------------------------------------------- Curt Carpenter · 2011-08-18 16:18 That is exactly what I was looking for -- thank you so much! I don't see the link you gave me in the documentation index at          http://wiki.lazarus.freepascal.org/Lazarus_Documentation But that could just be me not looking in the right place.  Could you add your link to this index?  I'm sure others would find it helpful. Thanks again!  Added note:  Yes, that documentation and example did the trick.  Just managed to convert and test my first Delphi component. ---------------------------------------------------------------------- eny · 2011-08-18 19:48 As a general rule Google has a better search engine than the Wiki. When searching for 'creating lazarus component' with Google it's the first hit... ---------------------------------------------------------------------- Curt Carpenter · 2011-08-19 17:28 I added the link to "how to create a component" to the lazarus docs index page -- not sure I did it right, but it's there Thanks for the tip on google -- I'll remember that.  Right now, I'm trying to learn my way around, and don't mind hunting since it's a good way to stumble on things. Thanks to all for the help.  Now have two component working!