473,386 Members | 1,621 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Why would an inherited form resize itself in Visual Studio

Hi,

I have some forms in my application. Some visually inherited forms resize
themselves in Visual Studio - ruuning my previous settings. Locking the
form has no effect either.

The forms it has problems with seem to be when the inheritance structure in
greater than 2 levels deep.

It is as follows:

ViewWin - part of the MVC structure I'm using. All forms in the
application inherit from this
\/
\/
Second Level Form - these seem to be Ok
\/
\/
Third Level Form - these forms seems to resize all the time

Any ideas or known issues with this.

Regards,

Nick
Jul 21 '05 #1
11 2335
Hi Nick,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that some inherited forms will be resized
automatically at design time. If there is any misunderstanding, please feel
free to let me know.

As far as I know, if there are some controls which has anchor settings in
the parent form, the code generator will sometimes goes wrong. Here is a KB
article about this.

http://support.microsoft.com/default...B;EN-US;316560

Please check to see if this is the issue you have met. If not, could you
please let me know the version of VS.NET you're using? Thanks!

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #2
Hi Nick,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that some inherited forms will be resized
automatically at design time. If there is any misunderstanding, please feel
free to let me know.

As far as I know, if there are some controls which has anchor settings in
the parent form, the code generator will sometimes goes wrong. Here is a KB
article about this.

http://support.microsoft.com/default...B;EN-US;316560

Please check to see if this is the issue you have met. If not, could you
please let me know the version of VS.NET you're using? Thanks!

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #3
"Nick Zdunic" <ni**@ss.com.au> wrote in message
news:u_*******************@news-server.bigpond.net.au...
Any ideas or known issues with this.


This is one of the more well-known issues. The KB article mentions anchored
controls, but it seems to happen in cases where there are no controls on the
form as well, or when they aren't anchored.

The only real workaround is to not use the form designer.

Marc
Jul 21 '05 #4
"Nick Zdunic" <ni**@ss.com.au> wrote in message
news:u_*******************@news-server.bigpond.net.au...
Any ideas or known issues with this.


This is one of the more well-known issues. The KB article mentions anchored
controls, but it seems to happen in cases where there are no controls on the
form as well, or when they aren't anchored.

The only real workaround is to not use the form designer.

Marc
Jul 21 '05 #5
That's a real bummer - nice feature to have - pity it doesn't work
properly in VS.NET

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #6
That's a real bummer - nice feature to have - pity it doesn't work
properly in VS.NET

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #7
Hi Nick,

This known issue seems to be only happening in .NET framework 1.0. If
you're using .NET framework 1.1, it has to be fixed. You can also try to
download .NET framework 1.1 sp1 to see if the fix has been applied.

http://www.microsoft.com/downloads/d...54f-088e-40b2-
bbdb-a83353618b38&DisplayLang=en

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #8
Hi Nick,

There might be some misunderstanding in my last post. This issue exists in
..NET framework 1.0. And it has been fixed in .NET framework 1.1. Could you
let me know your .NET framework version? Thanks!

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #9


1.1

I have installed the Service pack - haven't tested it yet to see if the
problem is still occuring.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #10
Hi Nick,

Please take your time and test it. If the problem still persists, could you
please send me a repro package, so that I can deliver my assistance more
quickly. Thanks!

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #11
Hi Nick,

Did the probelm still exist? If you need further assistance on this issue,
please feel free to let us know.

Luke

Jul 21 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Nick Zdunic | last post by:
Hi, I have some forms in my application. Some visually inherited forms resize themselves in Visual Studio - ruuning my previous settings. Locking the form has no effect either. The forms it...
3
by: Junkguy | last post by:
Hi, I'm having a problem in Visual Studio in C#, using .NET Framework 1.1 Version 1.1.4322 and Microsoft Development Environment 2003 Version 7.1.3088 I make a form A and subclass it with form...
3
by: Dave Munger | last post by:
Apologies if this is a known issue, but I couldn't seem to turn it up with google or on Technet. I am using Visual C# 2005 Express, Beta 2. I am learning C# and have come to the point in the...
0
by: Frnak McKenney | last post by:
I'm running into problems with VisualStudio.NET2003 and Windows Forms inheritance. It _feels_ like a bug, but it could just as well be a misunderstanding on my part regarding how the VS Designer...
13
by: Lorne Smith | last post by:
Hi, First, sorry for the crosspost, but it seemed appropriate... :) I've come accross what I consider to be a bug, but I don't know if it's already known or not. (VS .Net 2003 Pro - VB.Net) ...
8
by: Spam Trap | last post by:
I am getting strange resizing problems when using an inherited form. Controls are moving themselves seemingly randomly, but reproducibly. "frmBase" is my base class (a windows form), and...
0
by: 23s | last post by:
Is there any way I can send a vertical value to a form's scroll position? I have a full-screen form that, at launch, contains an empty tab sheet. At run time, the user can dynamically append a...
2
by: Giojo | last post by:
Hello guys! I have a problem with vistual studio 2005, it's a strange problem... I have a form, I choose some properties to change so in *.designer.cs there are the members I changed, only these.....
4
by: Mikus Sleiners | last post by:
I can't seem to add new controls to form that is inherited from another form. I have BaseForm wich have table layout on it 2 panelsm and some buttons. Now i create InheritedForm : BaseForm and...
1
by: Johnny Jörgensen | last post by:
Now, the following will probably sound weird to you, but I can assure you that there is a good reason for why I want to do it. Unfortunately, I'm not ad liberty to disclose WHY at this moment in...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.