Solved

Strange Component Happenings

Posted on 1998-06-01
1
159 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

778 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