Solved

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

Posted on 2014-11-21
4
151 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

Suggested Solutions

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

740 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