textfield colors

Blitz3D Forums/Blitz3D Beginners Area/textfield colors

julianbury(Posted 2003) [#1]
Hello, all you genius guys ;-)

In B+ ...
I would like to be able to change the background color of textfields as a form of highlight to show selection.
I cannot find the command for it.
Where is it?


Kevin_(Posted 2003) [#2]
Currently you cannot change the colours, however, I understand that Mark is going to include this feature soon.

Regards


julianbury(Posted 2003) [#3]
Hi Prof :-)
It's good to know that.
I'll be watching for upgrades - as always.


Sir Gak(Posted 2003) [#4]
A possible (though complicated and likely to be cumbersome) way to achieve this is to use the RECT command to draw a colored box, then Print (maybe Text) the text over the background, The Stringwidth(string) command could tell you how many pixels wide the box needs to be. Also, the Mousex and Mousey commands could tell you where to put the box.

I am sure this is not the simplest way, and I am not sure how practical it may be, but it is possible a way to do it.