Solved

Strange Component Happenings

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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

737 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