Arma 3 Scripting

Command in GUI Control - Tree View

tvSetPictureColor

Also available as Markdown and JSON, or read the original wiki page.

Description

Sets the colour of the picture (set via tvSetPicture) under the specified tree view path.

Syntax

Syntax 1

tvSetPictureColor [idc, path, color]

Parameters:

Returns: Nothing

Syntax 2

ctrl tvSetPictureColor [path, color]

Parameters:

Returns: Nothing

Examples

Example 1

tvSetPictureColor [101, [0,2], [1,0,1,1]];

Example 2

_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