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 336287
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T10:13:42+00:00 2026-05-12T10:13:42+00:00

I have page control in main form and page controls in child form ,

  • 0

I have page control in main form and page controls in child form , I
place the child form inside the main form by using docking features.

I am not using MDI style

Now both forms have tabs in page control and I need to merge the child form
tabs into the main form page control, what is the best way to do that?

  • 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-12T10:13:42+00:00Added an answer on May 12, 2026 at 10:13 am

    This is a fairly simple approach that may or may not suit your needs.

    For each child tab page you need to merge:

    • Create a tab in the main form page
      control corresponding to the child
      tab

    • Iterate over the Controls in the
      child tab and change the Parent
      property to the tab page you just
      created

    You do not need to deal with controls that are children of other controls. e.g. if you have a groupbox in your child tab, then changing it’s parent will bring both it and all controls within it to the new parent.

    If you need to be able to “unmerge” your tabs at any point then you will need to devise some mechanism to keep track of where the controls came from so you can restore the original Parent as/when needed.

    To make things slightly easier you could place a TPanel in the child tabs, with it’s Align property set to alClient. Place all the controls in the tab on that panel and then when you need to merge/unmerge you need only set the Parent of the panel control.

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

Sidebar

Related Questions

I have a page containing a control called PhoneInfo.ascx. PhoneInfo is dynamically created using
I have a page that have fileupload control, on the submission of the form,
I have a page with a form. There is an input control I populate
I have a custom control and it's been registered in main page in a
I have a simple iPhone application that is very similar to the Page Control
I have a page that uses the Telerik RadListView control and a Telerik RadDataPager
I have a page (A) and a user control and I want to send
I have a page in which I am loading a user control dynamically as
I have a drop-down list hardcoded in an MVC View User Control page and
On my page I have n-userControls (same control) I need to communicate between them(to

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.