Recent

Author Topic: [SOLVED] Is there any way to change the default icons in LazReport?  (Read 2195 times)

DmytroLev

  • New Member
  • *
  • Posts: 10
Hello guys!

I use LazReport and like it. But the icons in the top taskbar look "outdated". I would like to replace them with my custom icons so that the report view will look the same as the rest of my application forms. So far I see no other way than trying to recompile the lazreport package itself with the new icons. Or maybe I am missing something?

Or maybe there is a way to "embed" the report view into a form where I could place my own buttons with my custom icons?

Thanks in advance!
« Last Edit: January 26, 2021, 01:01:23 pm by DmytroLev »

DmytroLev

  • New Member
  • *
  • Posts: 10
Re: [SOLVED] Is there any way to change the default icons in LazReport?
« Reply #1 on: January 26, 2021, 01:05:33 pm »
Found the solution: should create a (new) form, place tfrPreview componemt on it, and set its name in the tfrReport's "Preview" property. Then place the buttons I want on the form.
The problem was that I didn't see the tfrPreview component button in the Lazarus components bar because I put my tfrReport on a DataModule. When I clicked on a form the button appeared.

 

TinyPortal © 2005-2018