QUOTE(Geegrafix @ 06/08/06, 05:12 AM) [snapback]239466[/snapback]
Does anyone happen to have a quick example of it working? I have tried creation time, didn't work. Thanks!
Looks like the bgc option for scrollfield is not functional or broken.
Another MEL wierdness.
What you can consider doing is make a layout for scrollfield slightly bigger then scrollfiled size.
Here is an example
CODE
window;
columnLayout -w 150 -h 150 -bgc 1.0 0.0 1.0 mylayout;
text -l ""; //Empty text line to have a border on top
scrollField -w 75 -h 75 -wordWrap true -text "Non editable with word wrap" -editable 1 -nl 2 sn;
text -l ""; //Empty text line to have a border at the bottom
showWindow;
Now if you want to change color of the columnLayout
CODE
columnLayout -e -bgc 0 1 1 mylayout; //Edit color
columnLayout -e -vis 0 mylayout; //Set columnlayout invisible
columnLayout -e -vis 1 mylayout; //Make it visible again thus refreshing it with new color
Now what you have'nt told us why do you need to change color of scroll field