Arma 3 Scripting

tvSetPictureRight

  • Arma 3 v1.62

Command · Markdown · JSON · original wiki page

Description

Sets right picture on the tree view item defined by path.

Syntax

Syntax 1

tvSetPictureRight [idc, path, name]

Parameters:

Returns: Nothing

Syntax 2

control tvSetPictureRight [path, name]

Parameters:

Returns: Nothing

Examples

Example 1

tvSetPictureRight [101, [0], "picture"];

Example 2

_ctrl tvSetPictureRight [[0], "picture"];

See also

tvPictureRight · tvSetPicture · tvPicture

Community notes

R3vo

Note

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. One drawback of that method is, that sorting the entries is not easily possible.

private _path = _ctrlTV tvAdd [[], "Some Entry"];
[_ctrlTV, _path] spawn
{
    (_this select 0) tvSetPictureRight [[_this select 1], "someImage.paa"];
};