Error opening form - Delphi

Asked

Viewed 126 times

3

I have an application that was developed in Delphi7 and I need to make a change in a given form, but when trying to open this form to make these changes the following error window is displayed to me:

inserir a descrição da imagem aqui

Due to being an old application (which I didn’t develop) and the fact that I don’t have much domain of the language, I can’t imagine how I can solve such error, it would be a library that I need to add?

  • 1

    makes it look like you don’t have the component installed

  • @Tmc, do you know how I can install such a component to validate whether this is the fault?

  • 2

    try to install this http://www.micrel.cz/RxLib/dfiles.htm

  • @Tmc I looked there but couldn’t find the site to download the library

  • I already edited the link

  • @Tmc, would you tell me which file to install?

  • Which version of Delphi is running this legacy code? There have been changes in some methods between versions, I believe that this happening there, could pass the code of the line where this error occurs?

  • The version is Delphi7, can give me your email @Paz?

  • This component is from Rxlib, already discontinued. If the dfm format is text, you can try (doing the proper backups) to change the class to Tdblookupcombo (both in dfm and pas). Possibly, it will cause errors with properties that eventually do not exist in Edblookupcombo; so just remove in dfm the line that generates the error.

Show 6 more comments

2 answers

2

Complementing @Jonathan Cani’s reply: Install O RXLib that this component is part of this package. Download here or replace the component with a similar one...

2

This error occurs because you probably do not have the component/library installed, if you do not have it, you should check the ignore all option, so that Delphi does not automatically remove the object declaration from your source code.

If you go to the "Project" menu and use the "Compile All Projects" and "Build All Projects" options, there is a chance your project will have the component but not have it compiled.

Under "Component" you can try using existing resources to point out the address of your component.

In "Project" you can try to access the "Project Options" option and in "Packages" check if your component is selected for use, or try to add it to the list again.

  • Just remembering that it has you have to know which library this component is part of...

Browser other questions tagged

You are not signed in. Login or sign up in order to post.