cb604
08-26-2005, 08:07 PM
Hey guys, first time posting. I seem to have trouble with a ListBox component that I'm using.
Here's the code I use to make everything black:
// New Style for the UI components
myStyle = new FStyleFormat();
myStyle.textColor = 0x8AA01C;
myStyle.arrow = 0x8AA01C;
myStyle.face = 0x000000;
myStyle.shadow = 0x000000;
myStyle.darkshadow = 0x000000;
myStyle.highlight = 0x000000;
myStyle.highlight3D = 0x000000;
myStyle.scrollTrack = 0x000000;
myStyle.background = 0x000000;
myStyle.backgroundColor = 0x000000;
myStyle.borderColor = 0x000000;
myStyle.focusRectOuter = 0x000000;
myStyle.focusRectInner = 0x000000;
myStyle.foregroundDisabled = 0x000000;
myStyle.backgroundDisabled = 0x000000;
myStyle.addListener(spnList);
myStyle.applyChanges();
But what happens is I end up with this tiny border around my list box and it's driving me nuts because no settings that I use above can set the color to all black.
The enclosed iamge shows the borders that I'm talking about. If anyone can help me out with this, that would be just super!
Here's the code I use to make everything black:
// New Style for the UI components
myStyle = new FStyleFormat();
myStyle.textColor = 0x8AA01C;
myStyle.arrow = 0x8AA01C;
myStyle.face = 0x000000;
myStyle.shadow = 0x000000;
myStyle.darkshadow = 0x000000;
myStyle.highlight = 0x000000;
myStyle.highlight3D = 0x000000;
myStyle.scrollTrack = 0x000000;
myStyle.background = 0x000000;
myStyle.backgroundColor = 0x000000;
myStyle.borderColor = 0x000000;
myStyle.focusRectOuter = 0x000000;
myStyle.focusRectInner = 0x000000;
myStyle.foregroundDisabled = 0x000000;
myStyle.backgroundDisabled = 0x000000;
myStyle.addListener(spnList);
myStyle.applyChanges();
But what happens is I end up with this tiny border around my list box and it's driving me nuts because no settings that I use above can set the color to all black.
The enclosed iamge shows the borders that I'm talking about. If anyone can help me out with this, that would be just super!