I am having difficulties setting the icon of an entry in a TextList control, I have tried doing many things, and I think the closest I have come to the correct method would be:
NPC Code:
TextList.rows[0].icon.drawimagerectangle(0,0,"filename",0,0,16,16) ;
but that doesn't seem to work :/
Any information regarding this subject would be much appreciated.
[edit]
The solution came to me in a dream! I had to use seticonsize(w,h) before making that drawimagerectangle call

[/edit]