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

Controls change their width-value

Hi,

I have the problem, that my controls change their width value when the form
is visible in the IDE and I compile the solution.

I use .NET 1.1.
Does anybody have a tip how I can prevent this?

Thanks a lot from Munich
Christian
Jun 6 '06 #1
4 1765
Which form? Web or Win?
Check that you don't change width manually in your code.

For the WebForm, applied CSS could change the size of you controls
I have the problem, that my controls change their width value when the form
is visible in the IDE and I compile the solution.

I use .NET 1.1.
Does anybody have a tip how I can prevent this?


--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche

Jun 6 '06 #2
"Christian Havel" <Ch************@discussions.microsoft.com> wrote in
message news:A8**********************************@microsof t.com...
Hi,

I have the problem, that my controls change their width value when the
form
is visible in the IDE and I compile the solution.

I use .NET 1.1.
Does anybody have a tip how I can prevent this?
the Form.AutoScale property

Thanks a lot from Munich
Christian

Jun 6 '06 #3
Hi Michael,

thanks for your help!

It is a WinForm app. The autoscale property is set to false.

Do you have any idea?

CU
Christian

"Michael Nemtsev" schrieb:
Which form? Web or Win?
Check that you don't change width manually in your code.

For the WebForm, applied CSS could change the size of you controls
I have the problem, that my controls change their width value when the form
is visible in the IDE and I compile the solution.

I use .NET 1.1.
Does anybody have a tip how I can prevent this?


--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche

Jun 8 '06 #4
Hi Ben,

the Form.Autoscale property has the value "false".

Do you have any idea?

Thanks
Christian

"Ben Voigt" schrieb:
"Christian Havel" <Ch************@discussions.microsoft.com> wrote in
message news:A8**********************************@microsof t.com...
Hi,

I have the problem, that my controls change their width value when the
form
is visible in the IDE and I compile the solution.

I use .NET 1.1.
Does anybody have a tip how I can prevent this?


the Form.AutoScale property

Thanks a lot from Munich
Christian


Jun 8 '06 #5

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

Similar topics

7
by: Bil Muh | last post by:
Esteemede Developers, I would like to Thank All of You in advance for your sincere guidances. I am developing a software using Visual C++ .NET Standard Edition with Windows Form (.NET)...
3
by: keith | last post by:
I have a panel on my form and add controls (e.g. TextBox) into it at runtime. What I want is the controls will display on same line if they are visiable in the panel horizontally. If any of the...
2
by: JohnR | last post by:
Let's say I have an MDI parent form with a textbox. If I create an MDI child form and, at runtime, move the MDI child window over the textbox on the MDI parent, the textbox appears in front of the...
12
by: John | last post by:
Hi Is there a way to save the layout of controls (position, size, visibility, appearance etc.) to a file (xml?) and also be able to load the layout from a file? The idea being that these file...
0
by: aarongoodman | last post by:
Does anyone know how to change the color and width of a control's border when specifying BorderStyle.FixedSingle etc... Is there an EASY way to change the Brush color or alter the Pen width from...
2
by: illegal.prime | last post by:
I'm surprised that I'm only know discovering this problem, but I suppose I've never needed to change the dimension that is opposite to the docking of the control. That is, when I've docked a...
5
by: jbeckh2 | last post by:
Hi, I am trying to create a custom server control that contains several dropdownlists. The control looks like this: Dim pnlHeader As New Panel Protected Overrides Sub RenderContents(ByVal...
0
by: chandrasekhar | last post by:
Hi I have developed a web page with some controls. I put all of them in session variables. I passed this values in the page. When an user enter some data in form fields and click the buttton ,...
5
BeemerBiker
by: BeemerBiker | last post by:
I am haveing problems getting the positioning of controls set consistently in a UserControl. I can get the control layout correct in design mode. http://swri.info/images/sqlfltr1.png It look just...
1
by: jimatqsi | last post by:
I have a report that is often being modified by management. Adding/deleting columns and total levels plays havoc with alignment. I want the report to self arrange all the columns. The left...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.