textfield colors
Blitz3D Forums/Blitz3D Beginners Area/textfield colors
| ||
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? |
| ||
Currently you cannot change the colours, however, I understand that Mark is going to include this feature soon. Regards |
| ||
Hi Prof :-) It's good to know that. I'll be watching for upgrades - as always. |
| ||
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. |