Solved

How to quickly clean out old remaining references to "dead" form controls?

Posted on 2014-11-21
4
154 Views
Last Modified: 2014-12-02
I have an app that has a rather large number of references to "dead" controls on a form. In other words, references to old TLabel's, TPanel's, TCheckboxes, etc that are not there anymore on the form. These obsolete controls however still remain in the Object Inspector, though the control no longer exists. Does anyone know of a "quick" way to clean all these old references out?

Thanks
    Shawn
0
Comment
Question by:shawn857
[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
  • 3
4 Comments
 

Author Comment

by:shawn857
ID: 40461548
...anyone?

Thanks
    Shawn
0
 
LVL 27

Accepted Solution

by:
Sinisa Vuk earned 500 total points
ID: 40461838
strange.... if delete component from form - and save after that - ide should remove all refs.
Try close project and delete all but except *.dpr, *.dproj, *.pas, *.dfm, *.res,  and files specific to application (ini, db files, ...) - then reopen project again.
0
 

Author Comment

by:shawn857
ID: 40463811
Yes I tried this Sinisa, no luck.

Thanks
   Shawn
0
 

Author Comment

by:shawn857
ID: 40469910
Found the problem to this, and I'm a little embarrassed about it - I had a whole other TabbedNotebook full of controls hiding underneath the current PageControl that my project was using. I remember I had re-used some very old code in this project, but totally forgot about just masking over that old TabbedNotebook. Sorry for the wild goose chase guys...

Cheers
    Shawn
0

Featured Post

Technology Partners: 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

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…
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month8 days, 17 hours left to enroll

615 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