Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TGauge Class not found

Status
Not open for further replies.

rubirich

Technical User
Dec 17, 2006
6
US
I'm very new to Delphi and I have a problem I've been struggling with for two weeks without solving it.

I'm getting two error messages when I try to view MainFrm
which is defined in unMain.pas and unMain.dfm.

I have Delphi 7 Enterprise Edition

The messages are:

Class TGauge not found
Class TSpinEdit not found

Of course, I only see the second error if I select IGNORE rather than CANCEL when I see the first error message.

Also, the error messages only occur the first time I try to view the main form.

These classes are defined in Gauges.pas and Spin.pas respectively and I put the pas and dcu files in the same folder as the project(s) I've been working on, thinking that might help, but no luck.

I also tried Project-->Add to project selecting the source file Gauges.pas or Spin.pas, but that didn't help.

Nevertheless, the projects DO compile and execute without errors.

When I look at the different lists of installed components, these classes don't appear anywhere.

I've also tried looking at Component-->Install Packages-->Components

I found TSpinEdit listed in Borland CLX Standard Components
but I coulnd't find TGauge listed anywhere.

I don't know whether it matters, but the application is, I believe a VCL -- not CLX -- application.

How do I get rid of the two errors?

Thanks in advance for any help.

 
In a default setup, the .dcu files go in the C:\Program Files\Borland\Delphi7\Lib directory. Those two .pas files are in a directory called samples, but that shouldn't matter. If you haven't changed the Options for the lib location, try moving them there.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top