Listbox colour
BlitzPlus Forums/BlitzPlus Programming/Listbox colour
| ||
Anyone know if it's possible to have different items in a list box be different colours? So if I had a list box with "Donkeys, Hens, Cows, Pigs, Monkeys", the Donkeys would be blue text, hens yellow text, pigs red text, etc. Thanks! |
| ||
Nope. Not unless you make your own listbox. You can of course change the color of text in a textarea. |
| ||
Thanks for the reply. I've started making my own using a canvas. Or maybe a whole load of canvases, not sure yet. |
| ||
1 canvas is the way to go :) I considered usin multiple canvis/gadget/panel/etc to makeup a listbox. For reasons envolving blitz+ events I decided not too, and just made the gadgets myself. :) this is one canvas btw <end pimp> |
| ||
I think you’re right; one canvas would certainly be easier. Your listbox looks great btw. |