Style for Combo Box?

Hi Folks

Is there a way to style the look of a combo box?

Currently we use type ahead’s with a value list in order to have all of the fields on the form look similar. The combo always comes up greyed and looking very different to a standard field or type ahead.

We are having problems because the type ahead allows the user to add data where we simply want them to be able to select from a list - so we need to massage the combo look somehow so we can use it properly.

Appreciate feedback from the Swing / CSS Guru’s.

Hi,

In the onSolutionOpen I use

application.setUIProperty(‘ComboBox.disabledBackground’, new Packages.javax.swing.plaf.ColorUIResource(java.awt.Color.decode(‘#ffffff’)));
application.setUIProperty(‘ComboBox.selectionBackground’, new Packages.javax.swing.plaf.ColorUIResource(java.awt.Color.decode(‘#6699cc’)));

to style the comboboxes we use.

Check http://www.duncanjauncey.com/java/ui/ui … _OS_X.html

Regards,

Peter

Thanks Peter - I’ll give that one a try out.

Cheers

Ian

Hi

We were really looking for a way to change the gradient that is displayed(in windows at least) when the combobox is closed, but im at a loss as to which property I need to set to achieve this.

Any ideas?