Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6254641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T14:12:56+00:00 2026-05-24T14:12:56+00:00

How can I stop C++Builder XE from automatically editing .dfm files? I’m currently porting

  • 0

How can I stop C++Builder XE from automatically editing .dfm files?

I’m currently porting a rather big code base from BCB5 to XE. A lot of external components have been used in the old code, but are not yet installed for the new environment (since I need to find working substitutes or port them myself). Now, the Builder removes/changes the definitions of these UI components in my dfm files. If the IDE does not find the implementation of the component, it is removed completely. For known components, the size is changed by a small value quite a lot of times. How can I turn of this annoying behavior?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T14:12:57+00:00Added an answer on May 24, 2026 at 2:12 pm

    It will edit both the DFM and the header file to remove components.

    There are three options:

    • When the IDE opens a form for which components don’t exist, it will ask you what to do. You can click “Ignore All” and it won’t remove those component references.

    • If you’re using source control, you should be able to revert those changes. Ie, let the IDE do whatever it wants, and then revert or don’t commit those changes.

    • The best approach though would be to actually have those components installed. If you’re opening forms in the project but the components don’t exist, what are you trying to do? You won’t be able to compile them. And if you need to replace the components with different ones, what’s wrong with the IDE removing the old ones?

      You should probably try to install newer versions of the same components where possible first, before upgrading the project and its files yourself. Then upgrade the project and on a case-by-case basis let it remove references to components that don’t exist, and replace them with your different components.

    “For known components, the size is changed by a small value quite a lot of times.”

    Technically this is a different question 😉 But if it’s small, ignore it. Some properties like ExplicitLeft and ExplicitTop will almost certainly change, and I think this is due to different window title bar and edge widths (usually seen if you’re using, say, Vista when the form was saved with XP. I think. I’ve never quite figured out why these constantly change, but it doesn’t seem to affect anything.) Make sure you are using a system with the same DPI setting as the one the forms were last saved on, too (this is the font size setting in your Display properties.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can I stop this from happening, it is grabbing files in .svn folders
How can stop HTML code from rendering and display it as standard text, so
How can I stop the ABAP extended program check (SLIN) from reporting errors in
Is there some way I can stop Chrome from auto populating input boxes? I
is there a way I can stop the opacity from affecting my links text
What can stop a TreeView from virtualizing if the TreeView is set up as
I read somewhere that you can stop Magento from requiring two product descriptions... this
is there a way I can stop the horizontal scroll bar from ever showing
How I can stop animation on the last frame. Code here: - (void)method{ NSMutableArray
Is there any way I can stop python.exe from closing immediately after it completes?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.