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

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****@headfirst.co.uk
www.headfirst.co.uk www.callofcthulhu.com
Nov 20 '05 #1
8 1063
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****@headfirst.co.uk
www.headfirst.co.uk www.callofcthulhu.com
-
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:Oj***************@tk2msftngp13.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****@headfirst.co.uk
www.headfirst.co.uk www.callofcthulhu.com
-
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:en**************@TK2MSFTNGP12.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****@headfirst.co.uk
www.headfirst.co.uk www.callofcthulhu.com
-
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:ef**************@TK2MSFTNGP09.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****@headfirst.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 'FormBorderStyle' 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
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
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...
8
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...
4
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...
2
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...
13
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...
2
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...
0
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...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
0
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,...
0
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,...
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.