PROBLEM: ComboBox control drawn larger than defined

T

Tom Luetz II

I have strange issue where my form is being drawn the right size, but the
ComboBox controls are being drawn larger than they are supposed to be. An
example would be a ComboBox whose size is set to 232 x 21 is drawn as 293 x
24. Also, two buttons on the form end up outside of the form's visible
bounds.

This problem manifests itself on only a few machines out of 100's that have
the application installed.

Here's a link to a screenshot showing how the form should look:

http://img98.exs.cx/img98/7990/form_as_Defined.jpg

and here's one showing how it looks on another person's system that has the
problem:

http://img94.exs.cx/img94/7627/kotortoolproblem.jpg

Anyone have any ideas on this?

Thanks in advance,
Tom
 
H

Herfried K. Wagner [MVP]

Tom Luetz II said:
I have strange issue where my form is being drawn the right
size, but the ComboBox controls are being drawn larger than
they are supposed to be. An example would be a ComboBox
whose size is set to 232 x 21 is drawn as 293 x 24. Also, two
buttons on the form end up outside of the form's visible
bounds.

This problem manifests itself on only a few machines out of 100's that
have
the application installed.

Here's a link to a screenshot showing how the form should look:

http://img98.exs.cx/img98/7990/form_as_Defined.jpg

and here's one showing how it looks on another person's system that has
the
problem:

http://img94.exs.cx/img94/7627/kotortoolproblem.jpg

Looks as if some of the machines run with "large fonts" turned on. Take a
look at the forms' 'AutoScale' property.
 
T

Tom Luetz II

Herfried K. Wagner said:
Looks as if some of the machines run with "large fonts" turned on. Take a
look at the forms' 'AutoScale' property.

Indeed you were correct. I was able to contact one of the users and he had
'Large Fonts' on.

What is the "proper" way to allow users to choose this setting and still use
the forms? While it might be easier to tell them to not make that choice, it
would be nice to support lower-vision users.

Thanks,
Tom Luetz II
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top