Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-03-2005, 12:28 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Setting the icon of an entry in a TextList

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]
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")

Last edited by ApothiX; 02-03-2005 at 10:43 PM.. Reason: Found Solution
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:17 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.