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

PROBLEM: ComboBox control drawn larger than defined

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
Nov 21 '05 #1
2 958
"Tom Luetz II" <tl****@comcast.net> schrieb:
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.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #2

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:eb****************@TK2MSFTNGP09.phx.gbl...
"Tom Luetz II" <tl****@comcast.net> schrieb:
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.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>


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
Nov 21 '05 #3

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

Similar topics

2
by: Richard Bateman | last post by:
I need to make a combo box that doesn't look like the standard windows controls. I thought that extending the combobox control would make the most sense, so I could draw it myself. However,...
5
by: Sharon | last post by:
I’m writing a Windows application. In the form I have a Panel and inside the panel I have a PictureBox control. I’m loading the PictureBox control with BMP image that has the following...
15
by: guy | last post by:
Where can i find an example of authoring a combobox control FROM SCRATCH in vb.net ??
2
by: Raju Joseph | last post by:
Hi All, Is there any way I can disable certain items in my ComboBox control? Thanks, Raju...
2
by: Don | last post by:
I've looked high and low for some code that will allow me to have a combobox with a flat borderstyle. I found a few examples, but nothing that was really usable for me. I had the following...
2
by: Simon Verona | last post by:
If I have a combobox set enabled=false then by default it will have dark grey text on a grey background. I want it to show as blue on white. I'm trying code such as : combobox.enabled=false...
9
by: Duncan Barnes-Ceeney | last post by:
I’m having problems with a custom Combo box. The main problem is that I want to modify the look of the combo which includes the size of the button. To do this I have inherited from the standard...
4
by: Vish | last post by:
Hi, I need to make the text on a combobox that is disabled to be drawn with a black color. I was not able to find any help on this online. The drawItem seems to apply only for the dropdpwn...
5
by: Kevinp | last post by:
I've spent the last four hours Google searching for a way to disable items in a Combobox. I found one example in C++ which I can't get to work and another in C# that I couldn't get to work either....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...

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.