Recent

Author Topic: Error in TBCPaperPanel Lazarus 3 component  (Read 2431 times)

Ever

  • Jr. Member
  • **
  • Posts: 79
Error in TBCPaperPanel Lazarus 3 component
« on: January 03, 2024, 12:42:28 am »
Happy new year 2024
     I have Lazarus 3 64bits installed on Windows 11, I use some BGRAControls components in my projects, and I notice that when I want to use the TBCPaperPanel component, it tells me the following error:
    Error creating component: TBCPaperPanel
    Resource "SHADOW" not found
I tried all the components of the palette and this is the only one that has problems. Download and install them from OnLine Package Manager
    I hope someone can help me with the solution.

jamie

  • Hero Member
  • *****
  • Posts: 6891
Re: Error in TBCPaperPanel Lazarus 3 component
« Reply #1 on: January 03, 2024, 11:29:07 pm »
Hmm
Maybe look here in the IMAGES folder, it's a PNG image. I would say you most likely will need more.
https://github.com/bgrabitmap/bgracontrols/blob/master/bcreg.pas
The only true wisdom is knowing you know nothing

lainz

  • Hero Member
  • *****
  • Posts: 4713
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: Error in TBCPaperPanel Lazarus 3 component
« Reply #2 on: January 05, 2024, 12:17:44 am »
That control should be removed for the next version, is just a TPanel with a background with 9 slice scaling.

Ever

  • Jr. Member
  • **
  • Posts: 79
Re: Error in TBCPaperPanel Lazarus 3 component
« Reply #3 on: January 07, 2024, 03:46:20 pm »
Thank you for your answers, the best thing then is to stop using said component.

Drachir

  • Newbie
  • Posts: 2
Re: Error in TBCPaperPanel Lazarus 3 component
« Reply #4 on: January 18, 2024, 08:24:27 am »
I tackled the same problem and I like the component (big thanks for it), so I hope it will not be removed. The solution working for me is to add {$I bcpaperlistbox.lrs} in section initialization in unit BCListBox.

Hope this helps you.

lainz

  • Hero Member
  • *****
  • Posts: 4713
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: Error in TBCPaperPanel Lazarus 3 component
« Reply #5 on: January 18, 2024, 02:34:19 pm »
I tackled the same problem and I like the component (big thanks for it), so I hope it will not be removed. The solution working for me is to add {$I bcpaperlistbox.lrs} in section initialization in unit BCListBox.

Hope this helps you.

Thanks. If you use the panel should be not removed. Thanks for the fix.
I'm having internet issues now but when I'm online again I will fix it.

Drachir

  • Newbie
  • Posts: 2
Re: Error in TBCPaperPanel Lazarus 3 component
« Reply #6 on: January 19, 2024, 10:21:42 am »
I tackled the same problem and I like the component (big thanks for it), so I hope it will not be removed. The solution working for me is to add {$I bcpaperlistbox.lrs} in section initialization in unit BCListBox.

Hope this helps you.

Thanks. If you use the panel should be not removed. Thanks for the fix.
I'm having internet issues now but when I'm online again I will fix it.


Not removing the component would be good news for me. Thanks for it as well as for your great work.

 

TinyPortal © 2005-2018