GuiTextEditProfile fillColor property not working
by Stanley D Chatman · in Torque Game Builder · 02/02/2008 (12:05 pm) · 1 replies
The guiTextEditProfile in TGB 1.7 does not recognize the fillColor property. No matter what you set it to it remains white. Does anyone know if this is by design or not. The bitmap color is white but it seems like the fillColor should change to whatever color specified.
if(!isObject(myTextEditProfile)) new GuiControlProfile (myTextEditProfile)
{
opaque = true;
cursorColor= "200 200 200";
//fillColor = "255 255 255";
fillColor = "0 0 0";
fillColorHL = "128 128 128";
border = -2;
bitmap = "game/data/images/textEdit";
borderColor = "40 40 40 100";
fontColor = "0 0 0";
fontColorHL = "255 255 255";
fontColorNA = "128 128 128";
textOffset = "4 2";
autoSizeWidth = false;
autoSizeHeight = true;
tab = true;
canKeyFocus = true;
fontType="Wee Bairn";
fontSize = 32;
};
Associate Fyodor -bank- Osokin
Dedicated Logic
If you want "plain" textedit control - make the bitmap property of profile equal "":
Then, engine will use the "borderColor / fillColor" fields to render the gui control.