On Fri, 18 Jun 2010 03:38:59 +1000 Peter E Williams <[email protected]> wrote:
> Hi dmitry & All, > > On Thu, 2010-06-17 at 12:21 +0400, dmitry boyarintsev wrote: > > On Thu, Jun 17, 2010 at 12:14 PM, Peter E Williams > > > Any ideas??? > > > > try to clean up manually "lib" directory at the package dir (remove > > any .o file located there). > > > > If ugradbtn is located in stand-alone package (not arraycolorbtn.pkg), > > you must add the ugradbtn package to arraycolorbtn requirement's, > > instead of using the file directly! > > > > I managed to get both the ugradbtn and arraybutton (based on > arraycolorbtn) compiled... but with one problem: there was not icon for > it on the Misc component toolbar. The tarraybutton.lrs file was missing. > This happens even when I created a new component based on TGradButton > (ugradbtn.pas). Yes, the IDE does not create icons. > This seems to be a bug in lazarus. When you create a new component based > on a existing component the .lrs file is missing. See the fine manual http://wiki.lazarus.freepascal.org/Lazarus_Packages#Add_a_component_icon > Also I could not save > the lpk file with the default name because it told me that it already > existed even tho' it didn't. Please create a bug report and steps to reproduce. > After copying tgradbutton.lrs to tarraybutton.lrs I get these 2 errors: > > /home/pewink/Public/My_code/lazarus/0.9.28.2/pewink/Hexxpawn/ArrayButton/tarraybutton.lrs(1,17) > Error: Identifier not found "LazarusResources" Your forgot to use the the unit lresources. >[...] Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
