Hi,
Quick question: is it possible to change the text colour of a Text Field (not Text Area)? I would use a text area it's just I don't want the users to be able to have multiple lines in the text box.
Thanks
Seb
i will help soon. Im still reading begginners guide to blitz max
here this should work
Rem
Here ya go!
End Rem
Graphics 640,480,0
While Not KeyHit( KEY_ESCAPE )
Local X:Float=0
Local Y:Float=0
Cls
SetColor 0,0,100 'Backround Color
DrawRect X,Y,20,20
SetColor 105,50,100 'Text Color
DrawText "Hi",X,Y
Flip
Wend
Triforce Guardian, I think this relates to MaxGUI.
Seb, I had a quick look and couldn't find a way to do it
with textfield. Might be a workaround but I didn't check that close.
oo muh bad. im still learning thank you for correcting me without flamming me
OK thanks. If anyone finds a way, please could you post it here?
Seb
i presumed setgadgettextcolor would have worked but....nope
There isn't an option for it in the code as far as I can see, but it looks like it might be possible to add (certainly for win32) with WM_CTLCOLOREDIT