473,698 Members | 2,609 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Moving/Resizing controls in designer view

Hello,

I've put a number of controls around forms etc, (like combo box and checked
list boxes) and over time they move or change in size without me touching
them.

Why is this happening and is there anything I can do to stop them doing
this?

Regards
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:si****@h eadfirst.co.uk
www.headfirst.co.uk www.callofcthulhu.com
Nov 20 '05 #1
8 1084
Hallo,

Are you sure they are not selected, the deselect in the current IDE is not
the nicest thing of it in my opinion.

Cor
Nov 20 '05 #2
When I come back to the form after a day or so, I've found them moved.

Regards
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:si****@h eadfirst.co.uk
www.headfirst.co.uk www.callofcthulhu.com
-
"Cor Ligthert" <no**********@p lanet.nl> wrote in message
news:Oj******** *******@tk2msft ngp13.phx.gbl.. .
Hallo,

Are you sure they are not selected, the deselect in the current IDE is not
the nicest thing of it in my opinion.

Cor

Nov 20 '05 #3
Hi Simon,

Do not become angry however my first thought was, can he not put a little
bit cheese before his computer with a fall, this sounds so weird.

Did you ever opened the designer part at the +.
The designer places only properties with values in the code.

And that is than changed without doing anything.

What you once can try maybe, is close the design part of the form, keep the
code open, save it, and than look what happens when you reopen it again.

I wished I could help you further however I do not know how?

Cor
Nov 20 '05 #4
Sorry for getting a bit angry ;-) just its doing my head in!! :-)

I did as you suggested, closed the design part and left the code open! It
asked me to save to the resx file, which I did.

When I opened up the form, the height of my checked list box has shrunk!!
Arghh.... :-)

Regards
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:si****@h eadfirst.co.uk
www.headfirst.co.uk www.callofcthulhu.com
-
"Cor Ligthert" <no**********@p lanet.nl> wrote in message
news:en******** ******@TK2MSFTN GP12.phx.gbl...
Hi Simon,

Do not become angry however my first thought was, can he not put a little
bit cheese before his computer with a fall, this sounds so weird.

Did you ever opened the designer part at the +.
The designer places only properties with values in the code.

And that is than changed without doing anything.

What you once can try maybe, is close the design part of the form, keep
the
code open, save it, and than look what happens when you reopen it again.

I wished I could help you further however I do not know how?

Cor

Nov 20 '05 #5
Hi Simon,
I did as you suggested, closed the design part and left the code open! It
asked me to save to the resx file, which I did.


That is not normal, are all the files on your own disk?

Cor
Nov 20 '05 #6
Yes. Its not limited to one form it happens across other forms. Seems to be
specific controls as well.

Regards
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:si****@h eadfirst.co.uk
www.headfirst.co.uk www.callofcthulhu.com
-
"Cor Ligthert" <no**********@p lanet.nl> wrote in message
news:ef******** ******@TK2MSFTN GP09.phx.gbl...
Hi Simon,
I did as you suggested, closed the design part and left the code open! It
asked me to save to the resx file, which I did.


That is not normal, are all the files on your own disk?

Cor

Nov 20 '05 #7
Hi Simon,

I do not want to go direct to the rough methode, did you already look at
your resx file if there are strange things in it.

You know that you can see it by clicking on the showall files in the
solution explorer?

Cor
Nov 20 '05 #8
* "Simon Jefferies" <si****@headfir st.co.uk> scripsit:
I've put a number of controls around forms etc, (like combo box and checked
list boxes) and over time they move or change in size without me touching
them.


Are you using a main menu on the form?
Did you change the form's 'FormBorderStyl e' property?
Does your form have a tool window border?
Did you edit the forms on machines with different # of DPI?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #9

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

Similar topics

0
1148
by: Tony | last post by:
Derived Forms resizing in dotnet. (Fix) Problem: If you have a form base class: public frmBase : System.Windows.Forms { public frmBase { // DefaultFormFont is new Font("Tahoma", 10);
10
2698
by: BBM | last post by:
Hi, I have been developing with C# User Controls and occasionally have a problem where I "lose" a control from the design surface of the User Control. The controls that I am using to build my User Controls are themselves custom controls. Occasionally, when I change something in either the User Control and/or one of the custom controls that are on it and recompile, when I go to the "Visual" design surface of the User Control, the...
8
15044
by: Chris | last post by:
Hi, In design mode I built some windows with some controls (e.g. listboxes, labels, chgeck boxes etc.) in it, and I did set the property for the window size is set to normal. Now, when I run my app the first user's action is to maximize the window, but the controls inside the window are not resized simultaneously with my window, resulting in a real meshy window.
4
2412
by: Boban Dragojlovic | last post by:
I create a new webform (I always use codebehind), and I insert some server-side controls into the form (the ASPX) Later, I switch to codeview, and I notice that some (sometimes all) of the controls I created have been automatically defined for me in the #Region " Web Form Designer Generated Code " section Later, when I add more controls this no longer happens. First, I'm wondering which of my actions causes it to no longer do this;
2
1453
by: One Machete | last post by:
Hi, I have developed a composite control that needs to support resizing in designer. My research turned up no guidance on the best approach for this, and I've found no mention of any design-time events fired upon a control resize or layout change. SO, my current thought is to put recalculation of the sizes and positions of the child controls in the OnPreRender override. Anyone know of any risks I haven't considered or of a better...
13
2486
by: Martin Ho | last post by:
I know this must be trivial for many of you. But I am playing with this and can't figure it out. I have a form, on that form is one panel which has 3 textboxes, when I run my program and maximize the form I want to resize my 3 text boxes according to the size of the form. Each text box should take 33% of the panel's width and full hight of the panel's height. Resizing of the panel is easy with docking... but these 3 textboxes are driving...
2
3109
by: Carl Gilbert | last post by:
Hi I have a math kinda problem where I'm trying to split some lines when two or more lines connect two shapes. The reason I am doing this is to make it clear that there are multiple lines connecting the two shapes. http://www.blackwaterbadgers.co.uk/image1.bmp Image 1 shows how if you have a line between two shapes, the line is straight. if you have more than one line, the lines will start overlapping
0
1703
by: Derek Hart | last post by:
I am wanting to move and/or resize controls at runtime. I have download and integrated this application: http://www.codeproject.com/KB/miscctrl/CSharpRectTracker.aspx It is the C# Rect Tracker, and works great. However, I still need to seek the ability to do a few more things. If anybody has enhanced C# Rect Tracker, and/or knows of other code, including commercial product to do the following, I would appreciate it.
0
8676
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8608
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9164
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9029
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8870
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7734
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6524
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3051
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2332
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.