Solved

Strange Component Happenings

Posted on 1998-06-01
1
156 Views
Last Modified: 2010-04-06
I have modified the TCombobox component to have a ReadOnly property and give it some additional functionality. The new component is installed and I am able to drop the comp onto forms and manipulate it's ReadOnly property at design time.

I have created a dialogue form which uses this component, and has previously compiled and work perfectly. I tried to recompile the dialogue today and got many errors.

On each line where I reference TNewCombo.ReadOnly I get the message Undeclared Identifier. I can still manipluate this property at design time.

If I open a new project and place the new component on a form, I can then reference it's ReadOnly prop at runtime and design time.

I have tried:

recompiling the component package
build all
replacing the components with new comps

None of the above offers any success. Any suggestions ?
0
Comment
Question by:Marcius
1 Comment
 
LVL 3

Accepted Solution

by:
rickpet earned 70 total points
ID: 1349581
try deleting your *.dcp

this is the dcu equivelant of your package.  The Delphi IDE uses this to load your component at design time.  Of course you'll have to Delphi shutdown.

Rick
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now