{"name":"tvSetPictureColor","title":"tvSetPictureColor","type":"command","url":"https://community.bistudio.com/wiki/tvSetPictureColor","revid":377815,"updated":"2026-01-03T04:13:41Z","groups":["GUI Control - Tree View"],"status":"ok","games":{"arma3":"0.74"},"since":"arma3 0.74","arma3_since":"0.74","locality":{"argument":"local","effect":"local"},"description":"Sets the colour of the picture (set via tvSetPicture) under the specified tree view path.","syntaxes":[{"syntax":"tvSetPictureColor [idc, path, color]","params":[{"name":"idc","type":"Number","description":"IDC of the tree view control","type_expr":"Number"},{"name":"path","type":"Tree View Path","type_expr":"Tree View Path"},{"name":"color","type":"Color (RGBA)","type_expr":"Color"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"[idc, path, color]"}},{"syntax":"ctrl tvSetPictureColor [path, color]","params":[{"name":"ctrl","type":"Control","type_expr":"Control"},{"name":"path","type":"Tree View Path","type_expr":"Tree View Path"},{"name":"color","type":"Color (RGBA)","type_expr":"Color"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"ctrl"},"right":{"text":"[path, color]"}}],"examples":[{"code":["tvSetPictureColor [101, [0,2], [1,0,1,1]];"]},{"code":["_tree tvSetPictureColor [[0,2], [1,0,1,1]];"]}],"see_also":["tvAdd","tvClear","tvCollapse","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvPicture","tvSetCurSel","tvSetData","tvSetPicture","tvSetValue","tvSort","tvSortByValue","tvText","tvValue"]}