cancel
Showing results for 
Search instead for 
Did you mean: 

iBrowser setBackgroundColor

Former Member
0 Kudos

Version 11.5

The Script Assistant indicates that there is a method to set the background color of a Browser object.

.getBrowserObject().setBackgroundColor("#FFFFFF");

Does this method actually exist? It is not in the help document and generates an error when I try it in java. I know I can set the Background color as a parameter in the applet, but can I set it dynamically?

Accepted Solutions (1)

Accepted Solutions (1)

jcgood25
Active Contributor
0 Kudos

Sue,

There are a few helper methods for setting colors as string (meaning the html color string itself) but in most cases you'll need to use document.AppletName.createColor("#FFFFFF"); and then pass this color object into the setBackgroundColor() method.

I also notice you are attempting to manipulate the iBrowser colors, but this applet does not give you complete control over colors and fonts, especially in drop down combo mode or list box mode. The applet rework in 12.1 will give you this control capability, so in the mean time with 11.5 you will have mixed control results.

Regards,

Jeremy

Answers (0)