Solved

ComboBox SropDownList style?

Posted on 2008-10-06
12
205 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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

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 …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

808 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