{"name":"tvSetPictureRight","operator":null,"title":"tvSetPictureRight","type":"command","url":"https://community.bistudio.com/wiki/tvSetPictureRight","revid":377788,"updated":"2026-01-03T01:40:00Z","groups":["GUI Control - Tree View"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.62"}],"since":{"game":"arma3","name":"Arma 3","version":"1.62"},"arma3_since":"1.62","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Sets right picture on the tree view item defined by path.","syntaxes":[{"syntax":"tvSetPictureRight [idc, path, name]","since":null,"effect":null,"exec":null,"params":[{"name":"idc","type":"Number","optional":false,"default":null,"description":null,"types":["Number"],"since":null,"text":"idc: Number"},{"name":"path","type":"Tree View Path","optional":false,"default":null,"description":null,"types":["Tree View Path"],"since":null,"text":"path: Tree View Path"},{"name":"name","type":"String","optional":false,"default":null,"description":"picture texture","types":["String"],"since":null,"text":"name: String - picture texture"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"[idc, path, name]","types":["Array"]}},{"syntax":"control tvSetPictureRight [path, name]","since":null,"effect":null,"exec":null,"params":[{"name":"control","type":"Control","optional":false,"default":null,"description":null,"types":["Control"],"since":null,"text":"control: Control"},{"name":"path","type":"Tree View Path","optional":false,"default":null,"description":null,"types":["Tree View Path"],"since":null,"text":"path: Tree View Path"},{"name":"name","type":"String","optional":false,"default":null,"description":"picture texture","types":["String"],"since":null,"text":"name: String - picture texture"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"control","types":["Control"]},"right":{"text":"[path, name]","types":["Array"]}}],"examples":[{"text":"```sqf\ntvSetPictureRight [101, [0], \"picture\"];\n```","code":["tvSetPictureRight [101, [0], \"picture\"];"]},{"text":"```sqf\n_ctrl tvSetPictureRight [[0], \"picture\"];\n```","code":["_ctrl tvSetPictureRight [[0], \"picture\"];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["tvPictureRight","tvSetPicture","tvPicture"],"notes":[{"user":"R3vo","date":"2021-04-05T12:14:00Z","text":"> [!NOTE]\n> Adding pictures to lists is very slow. In order to prevent the filling of the list to be slowed down, add the pictures in the **scheduled** environment.\n> One drawback of that method is, that sorting the entries is not easily possible.\n>\n> ```sqf\n> private _path = _ctrlTV tvAdd [[], \"Some Entry\"];\n> [_ctrlTV, _path] spawn\n> {\n>     (_this select 0) tvSetPictureRight [[_this select 1], \"someImage.paa\"];\n> };\n> ```"}],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: GUI Control - Tree View","Introduced with Arma 3 version 1.62","Scripting Commands"]}