Free 6 months hosting on Discount ASP
 
  Forum  General Visual ...  How do I...?  How can I change the combobox down arow color
Previous Previous
 
Next Next
New Post 3/29/2008 11:13 AM
  dubem1
783 posts
1st Level Poster




How can I change the combobox down arow color 

Hello,

what would be the easiest way to change the comboxbox down arrow color?   I don't want to change the whole default theme, just want the combobox arrow (I think it's an image) to be another color than the defautl blue.

Thank you

 
New Post 3/30/2008 8:26 AM
  itzik.spitzen
1600 posts
1st Level Poster




Re: How can I change the combobox down arow color 

Hi,

The VWG themes has a fallback mechanism, so that you don't have to override the entire theme, just the desired files, this means that you only need to create a new theme containing the following files under a folder named Skins:

DropDownDown.gif            - appears when clicked
DropDownNormal.gif          - appears when not touched
DropDownOver.gif              - appears when mouse is over it

Hope this helps.

Regards,
Itzik Spitzen

 
New Post 4/1/2008 6:11 PM
  dubem1
783 posts
1st Level Poster




Re: How can I change the combobox down arow color 

yes, I succeed

Is there a way to set a different image when the combobox is disabled?  I would like down arrow image to be grey when the control is disabled

Thank you

 
New Post 4/2/2008 11:05 PM
  itzik.spitzen
1600 posts
1st Level Poster




Re: How can I change the combobox down arow color 

Hi,

When the ComboBox is disabled, the control is blurred and no special image is set to it... You can change this behavior by overriding it in your theme.

Within the common.ie.css there is a definition of:
.Common-Disabled
{
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=40);
}

(There exists a common.moz.css for Firefox as well…)


You can try to override it within ComboBox.css. This should work due to the scoping mechanism of the internal VWG engine. However, in case it does not work, please let us know.

Regards,
Itzik Spitzen

 
New Post 4/3/2008 9:55 AM
  dubem1
783 posts
1st Level Poster




Re: How can I change the combobox down arow color 

Ok I will try thank you

Last question in this subject : I did succeed changing the down arrow image, but if a vertical scrollbar is needed in the items popup, this scrollbar is also blue.  Can I change the color of the scrollbar?

 

Thank you

 
Previous Previous
 
Next Next
  Forum  General Visual ...  How do I...?  How can I change the combobox down arow color
Most promising startups
Top 3 most promising startups in 2009
   AJAX Framework | Web Development | Cloud applications | RIA Development | Silverlight Applications | Legacy Migration
The most popular open source Ajax applications framework for enterprises | Sitemap | Terms Of Use | Privacy Statement
Copyright © 2005-2009 Visual WebGui®    Design By: Template World
   
Visual Studio Partners