Quote:
Originally Posted by Tigairius
Please provide more script.
|
In a Control Profile I use this
PHP Code:
new GuiControlProfile( "GuiLegendsTextEditProfile")
{
bitmap = "guilegends_textedit.png";
border = 5;
cankeyfocus = true;
transparency = 1;
opaque = 1;
fontcolor = { 0, 0, 0, 255};
fonttype = "Alanden";
fillcolor = fillcolorhl = fillcolorna = { 181, 184, 0, 255};
textoffset = { 10, 1};
}
and as fot the actual text box. (It's in a for loop so don't mind the temp.a)
PHP Code:
new GuiTextEditCtrl( "Start_Create_Name_TextBox" @ temp.a)
{
position = { 340, 25 + 32 * temp.a};
extent = { 128, 24};
profile = "GuiLegendsTextEditProfile";
text = temp.a == 0? "Unknown": temp.a == 1? "head0.png": "body.png";
tabcomplete = true;
}