Hi All,

I am using Package / New Package / Add File... to create a component
descended from GradButton (@wiki
http://wiki.lazarus.freepascal.org/TGradButton )

I am getting this error
//ugradbtn.pas(18,22) Fatal: Can't find unit Controls used by ugradbtn

Path it the component is:

/pewink/Public/My_code/lazarus/0.9.28.2/pewink/Hexxpawn/arraycolorbtn

Path to lazarus is
/pewink/Public/My_code/lazarus/0.9.28.2/

and fpc is on /usr/bin/fpc

lazarus is also on /usr/lib/lazarus however I am using the version
in /pewink/Public/My_code/lazarus/ because I needed to change some of
the permissions from read-only and the only way was to copy the whole
folder.

{
@name GradButton
@author Eugen Bolz
@lastchange 21.07.2008
@version 1.4
@thx to http://www.delphipraxis.net/topic67805_farbverlauf
+berechnen.html
@license http://creativecommons.org/licenses/LGPL/2.1/
@wiki http://wiki.lazarus.freepascal.org/TGradButton
}

unit ugradbtn;

{$mode objfpc}{$H+}

interface

uses
  Classes, SysUtils, Controls, graphics, LCLType,LResources,
//ugradbtn.pas(18,22) Fatal: Can't find unit Controls used by ugradbtn
  LCLIntf ,Buttons, urotatebitmap, types;

---------------
{ This file was automatically created by Lazarus. do not edit!
  This source is only used to compile and install the package.
 }

unit arraycolorbtn_pkg;

interface

uses
  regarraycolorbutton, LazarusPackageIntf;

implementation

procedure Register;
begin
end;

initialization
  RegisterPackage('arraycolorbtn_pkg', @Register);
end.
----------------------------


-- 
Proudly developing Quality Cross Platform Open Source Games
Since 1970 with a Commodore PET 4016 with 16 KRAM
http://pews-freeware-games.org (<--- brand new)


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

Reply via email to