[Lazarus] Component installs without icon on component toolbar - tarraybutton.lrs(1, 17) Error: Identifier not found "LazarusResources" (Mattias Gaertner)

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Jun 20 01:08:49 CEST 2010


On Sun, 20 Jun 2010 08:18:15 +1000
Peter E Williams <foss.game.pascal.developer at iinet.net.au> wrote:

> [...]
> Surely it would not be hard to write a small program which loads a PNG/s
> and then calls the 
> 
> ~/lazarus/tools/lazres yourunit.lrs TMyComponent.png TMyOtherCom.png ...

It is a little bit more complicated.

 
> I think that a GUI interface like this would be a great improvement &
> should be simple to write.

I added a button to select an icon.

 
>[...]
> > Please create a bug report and steps to reproduce.
> 
> The problem I had was that I was trying to "Add a File" instead of "Add
> a Unit" ... the distinction is unclear. After all isn't a unit just a
> file???

Yes, a unit is a special file. So is the 'add component' just a
special add file dialog.

 
> The other problem I had is the when I manually changed the text of the
> Register procedure I kept losing my edits. Somewhere there is a [x]
> Register procedure checkbox but I could not find it!!!! Arrgh!!! It is
> frustrating to know that I needed to [x] the Register checkbox but could
> not find it.

Where did you start searching? Maybe a hint could be added there.

 
> The dialog window for comparing the differences between the 2 files is
> VERY CONFUSING !!!... 

Do you mean the dialog that pops up, when you changed files outside of
the IDE?

> I must have used it a dozen times before I could
> understand what it was trying to tell me. I clicked the filename to view
> the changes then on both of the buttons and still lost my edits (at
> different times)... eventually I need to click on the checkbox below.
> Why don't the lost changes get saved in the BACKUP folder???

Please create a feature request, so it won't be forgotten.

  
> > > 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.
> 
> Fixed. Component now installed on Misc component tab. Success!!!

Congratulation.

Mattias




More information about the Lazarus mailing list