Link to home
Start Free TrialLog in
Avatar of elexil
elexil

asked on

The Controls In Windows Form Are Sliding And Form Size Is Changing After Every Baseline

Hi,

I am currently developing software in a bank's IT department.The problem is that the customer(clerks in the bank) are complaining about windows form we developed after every baseline becuase since the form's size is changing some controls are disappearing and still existing buttons and textboxes are sliding.At first we thought that the problem is about resolution but then we checked the clients' computer and the server machine's computer and understood that their resolution is the same as ours.Then we used splitcontainer and flowlayout panel but still the problem continued to occur.The form has also the property setresizable to false.

What can be the problem about?What are your solutions for this problem?

Thanks for your replies.I need URGENT help!
Avatar of AndyAinscow
AndyAinscow
Flag of Switzerland image

They might have the same resolution but have they the same font size (In windows one can magnify the font as a system setting - the font itself isn't changed, just how it is displayed).
Avatar of Gene_Cyp
Gene_Cyp

In the Visual Studio Designer:
Click on your FORM
You will see in its properties:
AutoScaleMode: Font
You can change that to whatever suits you. The selections are self-explanable
 
You ened to do that for all the forms (the controls inherit the behaviour). Only the forms.
Avatar of elexil

ASKER

I think the problem is not about font size.Since the form' autoscalemode : font property is already set and their font size is the same as ours.What can be the other reasons?Could you propose an alternative solution?
The only thing I could think of is the font magnification (I was caught by that some years ago on one PC, a similar behaviour as you describe).
Elexil, you must change that to something else. That is, it must NOT be set to autoscale based on font.
Also, it sounds like you use a flowlayout, you could use PANELS to group controls together and have better control over individual controls that way, especially by using  docking and anchoring. Is the window itself resizable by the way or fixed?
Avatar of elexil

ASKER

The form has fixed size.
Can you provide screeenshots of the intended and of the one that went wrong?
Just two snapshots of the same GUI (and have you tried changing the Autoscale?)
ASKER CERTIFIED SOLUTION
Avatar of elexil
elexil

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial