View Issue Details

IDProjectCategoryView StatusLast Update
0005247Multi Theft Auto : San AndreasGUI / Menus / Consolepublic2010-03-23 18:20
ReporterGamesnertAssigned Toccw 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target Version1.0.4Fixed in Version1.0.4 
Summary0005247: guiGridListSetItemColor doesn't work immediately
Description

guiGridListSetItemColor only seems to apply the color if you click the gridlist after you've used the command. guiGridListGetItemColor returns the set color, however.

Steps To Reproduce
  • Start runcode
  • Execute the following codes:

grid = guiCreateGridList(0.5,0.5,0.5,0.5,true)
guiGridListAddColumn(grid,"blah1",0.4)
guiGridListAddRow(grid)
guiGridListSetItemText(grid,0,1,"blah",false,false)
guiGridListSetItemColor(grid,0,1,255,0,0,200)
guiGridListGetItemColor(grid,0,1)

  • The color should still be white. However, guiGridListGetItemColor returns the set color; 255, 0, 0, 200
  • Click the gridlist, and the colors magically apply
TagsNo tags attached.

Issue History

Date Modified Username Field Change