[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Strange Component Happenings

Posted on 1998-06-01
1
Medium Priority
?
168 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 210 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

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

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

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month20 days, 7 hours left to enroll

867 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