473,386 Members | 1,736 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.

Location of winform controls changed according to O/S language

Hi,

I would like to describe as clear as I can(sorry my english is quite
limited)

1. I made a project with vb.net on english XP Pro
(The project has a winform with several general controls such as Textbox,
label, groupbox)

2. I copied the project to a PC installed with korean XP Pro.

3. I opened the winform in the visual studio

4. I found a very strange problem about the form layout.
Almost all the controls has moved to a diffrent location of themselves
without any reason
and the layout seemed to me quite messy.

5. The other way around was also the same.
If I do it from Korean XP to English XP, it gives me the same prob.
I spent almost three weeks without a solution and now really tired.
Please help me out this long jerney.
Thank you very much for reading this article.

Yong
Jul 21 '05 #1
1 2355
I think I might be able to offer some more help than in my previous email.

We have recently noticed that forms with the 'MinimumSize' and 'MaximumSize' values set to the same as the original size of the form will have trouble with controls being in the wrong place. This will also be a problem if the form has a fixed border.

Korean XP seems to apply some sort of size scaling to the controls (possibly to allow for the Korean text). If the forms do not allow any resize (as with the conditions described above) then the controls will resize but the form will not and the form will end up with odd layouts. Having different anchoring on the controls will also lead to odd positions.

To fix the problem we changed the 'MinimumSize' and 'MaximumSize' of the form to be 0,0. This allows the form to resize with the controls inside it.

Also if you have any user controls that do not respond to a resize event (we have OpenGL controls that do not resize well) you may have problems. Try to get these controls to respond to resize events so they can scale up with the other windows.

Hope this helps,

Regards,
Jon.

"Yongseung Kim" wrote:
Hi,

I would like to describe as clear as I can(sorry my english is quite
limited)

1. I made a project with vb.net on english XP Pro
(The project has a winform with several general controls such as Textbox,
label, groupbox)

2. I copied the project to a PC installed with korean XP Pro.

3. I opened the winform in the visual studio

4. I found a very strange problem about the form layout.
Almost all the controls has moved to a diffrent location of themselves
without any reason
and the layout seemed to me quite messy.

5. The other way around was also the same.
If I do it from Korean XP to English XP, it gives me the same prob.
I spent almost three weeks without a solution and now really tired.
Please help me out this long jerney.
Thank you very much for reading this article.

Yong

Jul 21 '05 #2

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

Similar topics

4
by: Alex Bibiano | last post by:
I have a typed dataset in my WinForm and a textbox with databinding to the dataset (all without code). Now, in a button event, I assign a new dataset (retrieved from a function) to the dataset a...
8
by: Sunil Menon | last post by:
Dear All, We are developing applications in ASP.Net...in one of our applications we would like to use a GridControl...we have tried to use a Server-Side Grid control but found the speed to be an...
8
by: Donald Xie | last post by:
Hi, I noticed an interesting effect when working with controls that are dynamically loaded. For instance, on a web form with a PlaceHolder control named ImageHolder, I dynamically add an image...
2
by: Kiki | last post by:
Add user controls to programmatically specified location I have some data about a control I'm calling from a page. This control will be load n-th times on the page but only one option will be...
1
by: Yongseung Kim | last post by:
Hi, I would like to describe as clear as I can(sorry my english is quite limited) 1. I made a project with vb.net on english XP Pro (The project has a winform with several general controls...
1
by: Marek | last post by:
Hi all, who can give me an answer on this question: how to validate controls on WinForm? So clicking on AceptButton does not return control from WinForm to program until all controls have proper...
5
by: lamxing | last post by:
Hi, I've come across a strange problem with the WinForm's sizing. I've designed a WinForm and it runs fine on my computer and some other PCs. But when I was trying to run the app under some PCs...
5
by: Andrus | last post by:
I have database containing translations. I'm creating VS 2005 WinForms application which should use this database to translate menu items to user language. I replaced lines in myform.designer.cs...
1
by: =?Utf-8?B?UmljaA==?= | last post by:
I placed a button on a form menustrip for the purpose of causing the horizontal scrollbar of my form to appear so that I can access controls outside of the form's current view (the controls are...
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
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
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...

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.