on 08-15-2008 3:28 PM
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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.