Recent

Author Topic: [DONE] Unable to find component class TDBCRadioButtion in BGRAControls  (Read 1438 times)

pixelink

  • Hero Member
  • *****
  • Posts: 1260
I try to open test examples and a couple of them give the error....
Unable to find component class TDBCRadioButtion

Which package did I forget to install.?

« Last Edit: August 11, 2019, 01:17:29 pm by pixelink »
Can't Type - Forgetful - Had Stroke = Forgive this old man!
LAZ 2.2.0 •  VSSTUDIO(.Net) 2022 • Win10 • 16G RAM • Nvida GForce RTX 2060

wp

  • Hero Member
  • *****
  • Posts: 11923
Re: Unable to find component class TDBCRadioButtion
« Reply #1 on: August 09, 2019, 12:58:58 am »
I try to open test examples and a couple of them give the error....
Please be more specific: Which test examples? Is the TDBCRadioButtion spelled correctly ("i" in "Button")?
« Last Edit: August 09, 2019, 01:03:45 am by wp »

pixelink

  • Hero Member
  • *****
  • Posts: 1260
Re: Unable to find component class TDBCRadioButtion
« Reply #2 on: August 09, 2019, 01:15:46 am »
test_bgracustomdrawn


Yeah, it does not have an i, just messed up the typing
Can't Type - Forgetful - Had Stroke = Forgive this old man!
LAZ 2.2.0 •  VSSTUDIO(.Net) 2022 • Win10 • 16G RAM • Nvida GForce RTX 2060

pixelink

  • Hero Member
  • *****
  • Posts: 1260
Re: Unable to find component class TDBCRadioButtion
« Reply #3 on: August 09, 2019, 01:20:14 am »
Here is exact error

This is the package I installed... bgracontrols.lpk
All other controls work
Can't Type - Forgetful - Had Stroke = Forgive this old man!
LAZ 2.2.0 •  VSSTUDIO(.Net) 2022 • Win10 • 16G RAM • Nvida GForce RTX 2060

wp

  • Hero Member
  • *****
  • Posts: 11923
Re: Unable to find component class TDBCRadioButtion
« Reply #4 on: August 09, 2019, 10:13:04 am »
I can reproduce this error. This is how I got it to work:
  • Install package CustomDrawn (in "Packages" > "Install/Uninstall packages")
  • Load package bgracontrols into "Packages" > "Open Package File (*.lpk)".
  • Find "bgracustomdrawn.pas" in the file list displayed by the package editor. Check the box "Register unit"; the checkbox is right below the file list.
  • Install the package bgracontrols again.
Maybe you should add "[BGRAControls]" to the title of this thread in the first post to catch the attention of the package maintainer.

[EDIT]
The demo test_bgracustomdrawn produces a lot of memory-leak messages.
« Last Edit: August 09, 2019, 10:27:27 am by wp »

lainz

  • Hero Member
  • *****
  • Posts: 4473
    • https://lainz.github.io/
Re: Unable to find component class TDBCRadioButtion
« Reply #5 on: August 09, 2019, 11:56:42 pm »
Don't use that, is not maintained, just kept because someone can still use it, to don't drop it, but that's the only reason.

Try if you wish the new radio button that's already installed with a normal installation of bgracontrols (BGRA Themes tab), and hopefully it has no leaks as well  :)

With BGRA Themes you can use bitmaps like in the bgracustomdrawn, just you need to create a custom bitmap theme, that's all.

pixelink

  • Hero Member
  • *****
  • Posts: 1260
Re: Unable to find component class TDBCRadioButtion in BGRAControls
« Reply #6 on: August 10, 2019, 12:25:43 am »
Thanks for the info
Can't Type - Forgetful - Had Stroke = Forgive this old man!
LAZ 2.2.0 •  VSSTUDIO(.Net) 2022 • Win10 • 16G RAM • Nvida GForce RTX 2060

 

TinyPortal © 2005-2018