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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T19:11:26+00:00 2026-06-08T19:11:26+00:00

I am loading a form into a panel by using the below code, problem

  • 0

I am loading a form into a panel by using the below code, problem is if the main window is resized the form doesn’t resize with it.

frm = new frmShopFloorMonitor();
            frm.TopLevel = false;
            frm.Dock = DockStyle.Fill;
            frm.AutoSize = true;
            pnlMain.Controls.Add(frm);
            pnlMain.Dock = DockStyle.Fill; 
            frm.Show();
            frm.BringToFront();

any suggestions?

The ribbon control is the one found here : http://officeribbon.codeplex.com/

  • 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-06-08T19:11:28+00:00Added an answer on June 8, 2026 at 7:11 pm

    Instead I opted to do a different hack, stick with MDIParent and child relations and do the following :

    1) Add a menu strip onto the MDIParent form and change its Visible value to false
    2) Change the following on the MDIChild forms to false : ControlBox, MaximizeBox, MinimizeBox, ShowIcon, ShowInTaskBar
    3) Change the MDIChild forms frame border to none.

    This allowed me to create a child window maximized without the title bar showing!

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

Sidebar

Related Questions

I'm loading form into jquery-ui dialog using jquery.html() function and then Submitting doesn't work
Here is my code i am using for custom search, <div id=cse-search-form style=width: 100%;>Loading</div>
I'm loading custom user controls into my form using reflection. I would like all
I am loading a form dynamically into a div. When posting the form using
I'm using Jquery to process a form without loading a new page. I'm getting
I have a Jquery Mobile shell page, which I'm loading a form into using
I have a Jquery Mobile page into which I'm loading a form via AJAX.
I am loading an iframe with some post data, by using a form post
I have a form/subform for inputting data into an ado table. The main form's
Problem: I don't know why my script is not loading a value into the

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.