Recent

Author Topic: Duplicate unit DBtreeview  (Read 487 times)

eldonfsr

  • Hero Member
  • *****
  • Posts: 526
Duplicate unit DBtreeview
« on: November 13, 2024, 06:31:56 pm »
Hello just download and install iBX but when compile send this error how i can avoid or solve this..to use dbcontrolgrid

wp

  • Hero Member
  • *****
  • Posts: 12476
Re: Duplicate unit DBtreeview
« Reply #1 on: November 13, 2024, 07:04:29 pm »
You cannot install both packages since both contain the same component TDBTreeView.

Not 100% sure that this works, but I guess you should do this:
- Open package IBControls. Remove the units DBTreeView and probably also DBControlGrid from the file list that you see in the package editor. You'll probably also have to delete (or better: rename) the corresponding files.
- Find the registration unit(s) (the one with the green triangle in the file list of the package editor) and make sure that the components TDBTreeView and TDBControlGrid are not registered
- Add package DBControls to the requirements of the IBControls package.
- Do a clean rebuild of the IDE (Tools > Configure Build Lazarus > check "Clean All" > "Build"

Since I am not 100% sure that this works you should make backup copies of the modfied/renamed/deleted files.

Or better: contact the author of theses packages (tonyw - he is a member of this forum) and ask him to do these changes for you.

eldonfsr

  • Hero Member
  • *****
  • Posts: 526
Re: Duplicate unit DBtreeview
« Reply #2 on: November 13, 2024, 08:27:39 pm »
oK thanks let work on that...

 

TinyPortal © 2005-2018