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

  • SEARCH
  • Home
  • 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 6234077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T10:25:02+00:00 2026-05-24T10:25:02+00:00

I have a frame on a form. When I change the frame (add/delete buttons,

  • 0

I have a frame on a form. When I change the frame (add/delete buttons, labels) no changes appear on the form or controls have other positions in the form that in the frame. If to delete the frame from the form and add it again -> Ok.

Why? As I remember there were no problems in Delphi 2010 (now-Delphi XE).

Thanks.

  • 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-24T10:25:03+00:00Added an answer on May 24, 2026 at 10:25 am

    So you had created a frame, and then dropped an instance of it on another form, and the problem is that later changes made to the original frame are not immediately shown until you delete the instance and re-drop it?

    You don’t need to delete the frame, just right click and select the controls you want to have their properties come from their master (original frame) properties, and click Revert to inherited. Oddly enough, Select All doesn’t work in frames.

    This is one of the reasons I avoid frames. I wish frames had a “don’t allow customization” property (AllowCustom=false) that would prevent any designtime DFM conflicts by not allowing frames to have this weird double-sets-of-properties.

    Another way to normalize your frames is to right click and view the form as text, and reduce your frame to this:

     inline Frame61: TMyFrame61
        Left = 0
        Top = 0
        Width = 500
        Height = 500
        Align = alNone
        TabOrder = 0
        ExplicitLeft = 31
        ExplicitTop = 33
      end
    

    Now it contains no overridden properties at all.

    If I drag one of the controls somewhere else (even accidentally), the following happens in the DFM where the Frame has been dropped:

     inline Frame61: TMyFrame6
        Left = 0
        Top = 0
        Width = 500
        Height = 500
        Align = alNone
        TabOrder = 0
        ExplicitWidth = 527
        ExplicitHeight = 337
        inherited Edit2: TEdit
          Left = 19
          Top = 77
          ExplicitLeft = 19
          ExplicitTop = 77
        end   
      end
    

    These extra bits of stuff in the DFM interfere with changes that you made at the other level. Normally adding extra controls and deleting controls is no problem (extra controls should show up when added, automatically, and deleted controls should go away), but with the effects of positioning problems (control overlaps/etc) the effect can be that you don’t see the change until later.

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

Sidebar

Related Questions

I have a frame that once it's minimized, I'd like to minimize other frames
I have a form inside an iframe that needs to be manipulated from the
I have a form which I load within a modal window in that from
I have got an iframe that displays a form from an external site,once the
Do older iPods and iPhones have a frame rate of 60fps? I'm finding that
I was just wondering about something. I have a frame that loads pages and
I have a frame with several radio buttons where the user is supposed to
I have an inline frame within a form. The inline frame actually contains the
I have window with some STATIC labels and BUTTONs on it. I make all
I have a data frame of the form: Family Code Length Type 1 A

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.