Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ComboBox SropDownList style?

Posted on 2008-10-06
12
Medium Priority
?
229 Views
Last Modified: 2012-05-05
I have ComboBoxes whoes style I specified as DropDownList. It works fine on my PC (Vista 64) but when running on XP in a Virutal PC the ComboBoxes appear as they were a DropDown style. What could be causing this?
0
Comment
Question by:Julypobox
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 6
12 Comments
 
LVL 11

Expert Comment

by:melmers
ID: 22656726
I think it's the theme. Have you disabled the themes on your winxp machine or set them to classic ?
0
 

Author Comment

by:Julypobox
ID: 22656800
Yes I have. The themes do change the way it looks, but the dif of ListBox and Dropdown is very pronounced and changing the thems does not fix this.
0
 
LVL 11

Expert Comment

by:melmers
ID: 22656820
Have you enabled the visual styles ?
you can check this when you look at controlpanel->system->Advanced->Performance Settings->Use visual styles on windows and buttons.

Or activate on the Visual Effects the "adjust for best appearance" radiobutton
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:Julypobox
ID: 22660439
yes, Use Visual Styles is Checked
As well the radio button is set for Adjust for Best Appearance.

Also besides the dropdown that is not showing correctly, there are panels whoese Border/Box does not show
0
 
LVL 11

Expert Comment

by:melmers
ID: 22660600
have you tried it on a native xp pc not one in a virtual pc ?
0
 

Author Comment

by:Julypobox
ID: 22666787
melmers
I just tested it on a regular (non vm) pc running xp and it has the same problem. However on the pc with xp it does shoe the box/border of the panel, something the virtual pc is not
0
 
LVL 11

Expert Comment

by:melmers
ID: 22666848
Can you post  a screenshot of your vista and one of your xp ?
0
 

Author Comment

by:Julypobox
ID: 22669061
Here are screenshots of how it is in Visa vs XP
DropDown-ListBox-vista.jpg
DropDown-ListBox-XP.jpg
0
 
LVL 11

Expert Comment

by:melmers
ID: 22676269
Have you on Vista Aero enabled ?
0
 

Author Comment

by:Julypobox
ID: 22684930
No. I just turned it on, and I see no diferrence.
0
 

Author Comment

by:Julypobox
ID: 22684939
But this led me to try a few more options, and what I find is that when I select Windows Classic I get what I am seeing on the other computers running XP, when I select Vista Basic or Aero I get the other look that I posted. So I guess this is just the way it is with Vista vs XP
0
 
LVL 11

Accepted Solution

by:
melmers earned 200 total points
ID: 22685022
i have tested some things and i think it is not possible that you create a UI which looks same on XP and Vista with standard controls. When you need that it look like you must  look if you get 3rd-Party controls which make it look the same on vista and xp but i in my oppinon it is not so bad when the ui style changes from os to os because users not realize the different ui style they remember the positions of labels and buttons to work not the shape or color of a control.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question