Adding Icon's/Glyphs to components in the pallette bar lazarus / 5-Lazarus Extra Components ---------------------------------------------------------------------- Joda26 · 2006-03-31 08:05 Hi, I've started porting all my delphi and kylix components to lazarus. But I can't seem to get the resources linked properly. I've used Lazitool to create the resource file but I can't seem to get the rest right. If someone can send me a link to the relevant doc's or just a quick example how to do that it would be greatly appreciated Thx 4 all the gr8 work so far Joda26 ---------------------------------------------------------------------- OnixJr · 2006-04-01 04:11 you should create resource file... If you have an componente TMyComponent, create an resource file as follow (in my example, I use BMP format, but you can use XMP format): lazres myresource.lrs tmycomponent.bmp Use directive {$I myresource.lrs} in your code Ps: you bmp should have name same of component. ---------------------------------------------------------------------- Joda26 · 2006-04-03 15:48 Oh my greatness, It's working! Thanx a whole heap man!