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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I am getting the following error me

Status
Not open for further replies.

MLNorton

Programmer
Nov 15, 2009
134
US
I am getting the following error message in a Delphi EX@ program that I am modifing, "Class TButton not found". I get the message when I Compile. I have checked on every Button in the program and I cannnot find a problem. What can be causing this?
 
The Class TButton is declared inside of the StdCtrls unit, so make sure the unit StdCtrls is listed in uses clause of your form.

Hope this helps.

Imobiliarias em Guarulhos
 
I have 19 forms in the program and all have the StdCtrls unit declared.

What next?
 
Have you checked the actual unit where the compile error is occuring? Make sure that it appears in the interface section.

It's possible that the project has defined a new type named TButton, which may be confusing things.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top