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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:56:16+00:00 2026-05-29T09:56:16+00:00

I made a simple application in which an MDI parent loads a child form

  • 0

I made a simple application in which an MDI parent loads a child form at a click of a menu item..(I am going to implement this in a much bigger and more useful application)…It contains initially a MenuStrip and on a click of the MenuStrip item a new form will open (typical MDI parent form style) This form is border less and I would like it to fit and fill the remaining space under the the MDI parents MenuStrip.

I need to know the properties to use in order to achieve this and at the same time (for the child form) to fit into the MDI parent form’s free space at any resolution at which the display is.

So far I tried this but I got this error: Property access must assign to the property or use its value.

Private Sub frmGenPay_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)       Handles MyBase.Load
    Me.StartPosition(10, 10)
    Call FitToScreenCompanyDetails()
End Sub

In the module:

 Public Sub FitToScreen()
    frmMDImainform.Size = My.Computer.Screen.Bounds.Size
End Sub

The second code above is for the MDI parent form if someone could give me some suggestions on this too it would be really kick-start things.

Thanks to everyone for any piece of advice. Thanks in Advance!

  • 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-29T09:56:17+00:00Added an answer on May 29, 2026 at 9:56 am
        Me.StartPosition(10, 10)
    

    That just isn’t valid code. StartPosition is a property, you are treating it as though it is a method. Nor does it take a location. My best guess for the intended code:

        Me.StartPosition = FormStartPosition.Manual
        Me.Location = New Point(10, 10)
    

    You’ll run into more trouble implementing your intended design. There should be only one MDI main window. MDI child windows cannot be borderless.

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

Sidebar

Related Questions

I want to add a custom right-click menu to my web application. Can this
I've made a wxPerl application which presents just a simple frame which only contains
I have made a simple application in which i have use some buttons and
I have made a simple script application which accepts radius as input from user
I've made a very simple sinatra application which displays a frameset with 3 frames.
I have made a sample application which constructs a filter graph to capture audio
We made a simple application and using GoogleAppEngineLauncher (GAEL) ran that locally. Then we
I have made a simple test application for the issue, two winforms each containing
I've made a simple OpenCV application with Visual Studio 2008 and I've built it
in my application I made a very simple binding. I have a NSMutableArray bound

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.