Solved

Strange Component Happenings

Posted on 1998-06-01
1
162 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

691 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