Solved

ComboBox SropDownList style?

Posted on 2008-10-06
12
211 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
  • 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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 50 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

791 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