I'm new to Delphi, so please forgive what may well be stupid questions.
I've inherited a project that was originally written in Delphi 7.
The project file is called promain.dpr, but I believe that the main file is unMain.pas with a corresponding form unMain.dfm, which is the main form. The project builds and runs perfectly, but when I try to edit the project in the Visual Editor I run into two serious problems.
1. I get an error message saying Class TGauge not found.
The file unMain.pas contains GAUGES on the USES list,
and I thought that would allow having a TGaugue object in the code.
Also, it was my understanding that the TGauge object is built-in to Delphi, rather than a class defined in the project's source code.
Despite the error, as I mentioned, the project compiles and executes perfectly, including the progress gauge, which I assume is a TGauge object derived from GAUGES.
2. Even more perplexing. In the Designer, I when I try to bring up the main form (i.e. unMain.dfm) in the visual editor, it doesn't come up. Pressing F12 does nothing.
With ALL of the other files that have DFMs in this project, pressing F12 brings up the form, just not the main form.
I'm having both of these problems with other projects that I've inherited and they are threatening my sanity, so I would greatly appreciate any help.
Thank you guys.
I've inherited a project that was originally written in Delphi 7.
The project file is called promain.dpr, but I believe that the main file is unMain.pas with a corresponding form unMain.dfm, which is the main form. The project builds and runs perfectly, but when I try to edit the project in the Visual Editor I run into two serious problems.
1. I get an error message saying Class TGauge not found.
The file unMain.pas contains GAUGES on the USES list,
and I thought that would allow having a TGaugue object in the code.
Also, it was my understanding that the TGauge object is built-in to Delphi, rather than a class defined in the project's source code.
Despite the error, as I mentioned, the project compiles and executes perfectly, including the progress gauge, which I assume is a TGauge object derived from GAUGES.
2. Even more perplexing. In the Designer, I when I try to bring up the main form (i.e. unMain.dfm) in the visual editor, it doesn't come up. Pressing F12 does nothing.
With ALL of the other files that have DFMs in this project, pressing F12 brings up the form, just not the main form.
I'm having both of these problems with other projects that I've inherited and they are threatening my sanity, so I would greatly appreciate any help.
Thank you guys.