Solved

ComboBox SropDownList style?

Posted on 2008-10-06
12
195 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
 

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now