Hi Mattias & All,
Mattias wrote 31 lines
based
> on a existing component the .lrs file is missing.
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 ...
I think that a GUI interface like this would be a great improvement & should be simple to write.
See the fine manual http://wiki.lazarus.freepascal.org/Lazarus_Packages#Add_a_component_icon
Thanks, I had a read of it. It told me what I was doing wrong.
Show quoted text 6 lines
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???
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.
The dialog window for comparing the differences between the 2 files is VERY CONFUSING !!!... 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???
Show quoted text 6 lines
Fixed. Component now installed on Misc component tab. Success!!!
Show quoted text 6 lines
Peter
