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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T03:28:56+00:00 2026-05-11T03:28:56+00:00

I have a base form. I place Ok and Cancel buttons on the bottom

  • 0

I have a base form. I place Ok and Cancel buttons on the bottom right of the form and anchor them Bottom and Right.

The inherited form does not honor the anchor properties of the Ok and Cancel buttons. Here are the exact steps to repro.

1- Create a base form with a button located at bottom/right. Anchor it there at Bottom,Right. 3- Create a new form that inherits from the base form, created in step 1. 4- Increase (in the designer) the second form’s height or width. 5- You’ll see that the button does not exactly move, thus dishonoring its anchor properties.

Am I doing something wrong, or does VS2008 simply not honor the anchor properties of the controls on the base form?

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. 2026-05-11T03:28:57+00:00Added an answer on May 11, 2026 at 3:28 am

    Mmm followed your steps and worked perfectly…

    Make sure that the inherited form isn’t overriding some properties in the designer… Mine ‘Inherited Form’ only has this:

    private void InitializeComponent() {     this.SuspendLayout();     //      // Form2     //      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);     this.ClientSize = new System.Drawing.Size(296, 154);     this.Name = 'Form2';     this.ResumeLayout(false);  } 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a base User Control. I place Ok and Cancel buttons on the
I have made a Base Form which is inherited by most Forms in the
Say I have a base form of a word and a tag from the
I have a recursive method on the base form that takes in a control
I have a .NET c# form with a tabcontrol on the base form. This
I have a base and derived class called Node which form elements of a
I have two models nested with accepts_nested_attributes_for : class Place < ActiveRecord::Base # Relations..
I have a Silverlight application which is a collection of form fields and buttons.
I have a generic base form, and the descendant forms don't work in the
I have form like this: <form method=POST action=<?php echo base_url() ?>admin/admin_search> <fieldset> <label for=nalozi>Nalozi</label><input

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.