Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   TextList Icon...? (https://forums.graalonline.com/forums/showthread.php?t=60997)

ForgottenLegacy 09-04-2005 07:29 PM

TextList Icon...?
 
In the scriptfunctions, it says a TextList has icon attributes, so how do I add an icon to a GuiTextListCtrl? z-z

Admins 09-05-2005 11:18 PM

e.g.
setIconSize(16,16);
rows[0].icon.drawimagerectangle(0,0,"playerlist_icons.png ",0,0,16,16);

You need to set the icon size, and then draw something into the icons of the rows. Each icon is a TDrawingPanel


All times are GMT +2. The time now is 07:28 PM.

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