Como fazer este componente funcionar lazarus / 7-LCL ---------------------------------------------------------------------- renatocrd · 2009-01-23 19:21 Nao estou conseguindo compilar o codigo abaixo como componente unit component; interface {$mode objfpc} {$H+} uses  ExtCtrls, Classes, SysUtils; Type     TRNSTeste = Class(TPanel)     Private     Protected     Published     Public           constructor Create(TheOwner: TComponent); override;           destructor  Destroy; override; end; procedure Register; implementation Constructor TRNSTeste.Create(TheOwner: TComponent); Begin      Inherited Create(TheOwner); end; Destructor TRNSTeste.Destroy; begin      inherited; end; Procedure Register; Begin      RegisterComponents('Walker',[trNSTeste]); end; end. Sempre que tento compilar o pacote ele da o erro abaixo C:\lazarus\components\teste\component.pas(9,2) Fatal: Can't find unit ExtCtrls used by component Existe algum material que possa estudar sobre criação de componentes para o lazarus ? ---------------------------------------------------------------------- theo · 2009-01-23 20:37 This code should compile. There's probably something wrong with your settings. http://wiki.lazarus.freepascal.org/Lazarus_Packages/pt ---------------------------------------------------------------------- Vincent Snijders · 2009-01-23 20:42 Add the LCL as requirement to the package (.lpk) that contains the component. ---------------------------------------------------------------------- renatocrd · 2009-01-23 22:33 Grato pela ajuda o problema era realmente a falta do LCL, espero que daqui pra frente possa contribuir com a comunidade lazarus. ---------------------------------------------------------------------- Vincent Snijders · 2009-01-24 07:47 It would help, if you try to write messages in English. ---------------------------------------------------------------------- LazaruX · 2009-02-04 09:10 Translation, maybe not perfect, but: Thanks for the help, the problem was realy a fault in LCL I hope that from now I can contribute like the Lazarus community. ---------------------------------------------------------------------- Vincent Snijders · 2009-02-04 09:12 a fault in the LCL -> the fact that the LCL was missing ---------------------------------------------------------------------- LazaruX · 2009-02-04 09:17 My Spanish is not that good, maybe he meant a fault in the configuration or kind of ---------------------------------------------------------------------- Vincent Snijders · 2009-02-04 09:21 I have not so much trouble with Spanish, it is the Portuguese that I find hard to understand ... ;-)