PDA

View Full Version : ı have problem -- input -


mustafa06
01-20-2008, 11:22 AM
for example ım write my input red and then input color change red , if ım write my input blue and then input color change blue how ? ty ;)

bule
01-20-2008, 11:42 AM
Input1 OnKey event:

if Input.GetText("Input1")=="red" then
Input.SetProperties("Input1", {BackgroundColor=Math.HexColorToNumber("FF0000")})
elseif Input.GetText("Input1")=="blue" then
Input.SetProperties("Input", {BackgroundColor=Math.HexColorToNumber("0000FF")})
end

mustafa06
01-20-2008, 11:43 AM
Input1 OnKey event:

if Input.GetText("Input1")=="red" then
Input.SetProperties("Input1", {BackgroundColor=Math.HexColorToNumber("FF0000")})
elseif Input.GetText("Input1")=="blue" then
Input.SetProperties("Input", {BackgroundColor=Math.HexColorToNumber("0000FF")})
end

ty too man ;)

mustafa06
01-20-2008, 12:09 PM
how ı change text color not bacground.. ?

RizlaUK
01-20-2008, 12:11 PM
change:

BackgroundColor

to

FontColor

mustafa06
01-20-2008, 12:36 PM
change:

BackgroundColor

to

FontColor

ty too :lol ;)

FoxLeader
01-20-2008, 05:25 PM
Please use a bit the help file, that last question would have been really easy with it.