473,385 Members | 1,465 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,385 software developers and data experts.

Form designer looses controls

Hi NG,

It happens quit often, that in Visual Studio 2005 the form designer "looses"
controls.
Actually it does not really loose them, but the are no longer visible and to
get them back I must close the formdesigner and reopen it.

I observe this quit often with controls contained in a tabPage.

Is this a (known) Bug? If yes, please take this as a BugReport.

Regards
Rainer Queck
Jun 6 '07 #1
10 1403
Well,
Sometimes my pants are "loose", but it is very rare that my form
designers "lose" controls.

You could try closing the form in the IDE and then reloading it. if
you think you have found
a legitimate bug, the place to check for and report it is the
Microsoft connect site.

Jun 6 '07 #2
Hi Rainer,

Could you tell me what controls are placed on the form? Are they all
standard .NET controls? Do you bind these controls to data sources?

If possible, you may send me a simple project that could just reproduce the
problem.

You can also submit a bug or suggestion on Visual Studio in the Microsoft
connect web site via the following link by yourself:

https://connect.microsoft.com/VisualStudio
Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

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

Jun 7 '07 #3
On Jun 7, 8:44 am, v-l...@online.microsoft.com (Linda Liu [MSFT])
wrote:
Hi Rainer,

Could you tell me what controls are placed on the form? Are they all
standard .NET controls? Do you bind these controls to data sources?

If possible, you may send me a simple project that could just reproduce the
problem.

You can also submit a bug or suggestion on Visual Studio in the Microsoft
connect web site via the following link by yourself:

https://connect.microsoft.com/VisualStudio

Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer tohttp://msdn.microsoft.com/subscriptions/managednewsgroups/default.asp...
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) athttp://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
Was the control disappeared without any error?. Sometimes the Form
Controls were not visible on loading the form(design time), but it
showed up error message. I didn't dig down for details. Replacing the
form and controls solved the problem. But if you've go too many
control with custom code it'd be a pain.

Jun 7 '07 #4
Hello Linda,

I have placed a ZIP at www.qutronic.de/Temp/DisapearingControls.zip which
contains:
- demo Project "DisapearingControls"
- a procedure on how to "make controls dissapear" in "DisapearingCtrls.txt"
- two JPGs showing the situation here on my machine.

I hope this helps to reproduce the problem and do find the bug.
Please send me feedback to the e-mail address yuo have from me.

Regards
Rainer Queck
Jun 14 '07 #5
Hi Rainer,

Thank you for your sample project.

Following the steps you described, I did see the reproduce the problem on
my side.

However, if I move the two labels and two textboxes to the form, this
problem doesn't exist. So it seems like an issue of the TabControl's
designer.

I will check our inner database to see if it is a known issue. BTW, I will
be OOF in the next Monday and Tuesday, so I will reply to you the next
Wednesday.

Have a nice weekend!

Sincerely,
Linda Liu
Microsoft Online Community Support

Jun 15 '07 #6
Hi Linda,
Following the steps you described, I did see the reproduce the problem on
my side.
Good!
I will check our inner database to see if it is a known issue. BTW, I will
be OOF in the next Monday and Tuesday, so I will reply to you the next
Wednesday.
Thanks.

Have a nice weekend!
Likewise!

Regards
Rainer
Jun 15 '07 #7
Hi Rainer,

I have searched in our inner database and found a similar issue in it.

It points out that modifying the code and building the solution causing the
designer to reload. During this reload, the controls on the TabPage of the
TabControl is created but their visibility are not set back to visible.

The workaround is to put the content of the TabPage in a separate
UserControl and then add the UserControl to the TabPage and set it Dock
Fill.

Hope this helps.
Sincerely,
Linda Liu
Microsoft Online Community Support

Jun 20 '07 #8
Hi Linda,

thanks for the information.
I will consider the workaround.

Regards
Rainer Queck

"Linda Liu [MSFT]" <v-****@online.microsoft.comschrieb im Newsbeitrag
news:hv**************@TK2MSFTNGHUB02.phx.gbl...
Hi Rainer,

I have searched in our inner database and found a similar issue in it.

It points out that modifying the code and building the solution causing
the
designer to reload. During this reload, the controls on the TabPage of the
TabControl is created but their visibility are not set back to visible.

The workaround is to put the content of the TabPage in a separate
UserControl and then add the UserControl to the TabPage and set it Dock
Fill.

Hope this helps.
Sincerely,
Linda Liu
Microsoft Online Community Support


Jun 20 '07 #9
Hi Rainer,

How about the workaround?

If you have any question, please feel free to let me know.

Thank you for using our MSDN Managed Newsgroup Support Service!

Sincerely,
Linda Liu
Microsoft Online Community Support

Jun 22 '07 #10
Hi Linda,

"Linda Liu [MSFT]" <v-****@online.microsoft.comschrieb im Newsbeitrag
news:vp**************@TK2MSFTNGHUB02.phx.gbl...
Hi Rainer,

How about the workaround?

If you have any question, please feel free to let me know.
In my current project, I momentarely don't use data binding (have removed
all existing) due to project requirements. Therefor I don't have to deal
with the issue.
But the subject will come up again, and then I will try the workaround.
In case I then have problems, I will propably come up with more questions.

Thanks for checking on me!

Regards
Rainer
Jun 22 '07 #11

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

Similar topics

3
by: Chris | last post by:
Hi, I'm trying to append text from another class to a generic richTextBox that I've added to a Windows form. I can't seem to figure out how to expose the richTextBox to append text to it. ...
2
by: Jaikumar | last post by:
Hi, 1) I have created one windows application, In the main form ( form1) i have added one usercontrol (usercontrol1), In that user control i am drawing one image. 2) In the UserControl1 i am...
2
by: baret bonden | last post by:
Trying to return a selected listbox item to another form .tried lots of ways; defining public variables and passing those as well as textboxes ..I' m able to display the chosen item on it's form...
4
by: Rod Gill | last post by:
Hi, I have a form that when opened in the designer appears of the screen. The form selector can't be dragged (or resized) and if I scroll right and down to centralise it the form simply jumps...
4
by: Philip Wagenaar | last post by:
I have made a form with a tab that containts groupboxes and those contain checkboxes. When I run the application sometimes the outlining for some groupboxes are not shown, if I switch tabs and...
7
by: Terry | last post by:
I have a Mainform with a Statusbar. When opening another form or doing some processing I want to display info in the Statusbar of the Mainform. I have read a lot of articles on this & have come up...
6
by: ahmad.humyn | last post by:
I want to call a hidden form. My code goes something like in which the main calls form1. form1 has a button which creates & calls form2 and hides itself. Now I have a button in form2 which if...
8
by: Ryan | last post by:
Ok.. I have a form with lots of stuff on it; a tool strip panel, menu strip, data binding elements (dataset, binding source, table adapter), tab control with 7 tab pages, each page contains a...
5
by: lukasmazur | last post by:
Hi I have a problem with using listBox1. I have a two forms form1 and form2. In form1 are controls listBox1, textBox1 and button witch creating object of class Form2. In class Form2 I create a...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.