Arma 3 Scripting

Command in GUI Control - Tree View

tvSetColor

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

Description

Sets text color on given Tree View Item

Syntax

Syntax 1

tvSetColor [idc, path, color]

Parameters:

Returns: Nothing

Syntax 2

control tvSetColor [path, color]

Parameters:

Returns: Nothing

Examples

Example 1

tvSetColor [101, [0,0], [1,0,0,1]];

Example 2

_ctrl tvSetColor [[0,0], [1,0,0,1]];

See also

tvDelete · tvAdd · tvClear · tvCollapse · tvCount · tvCurSel · tvData · tvExpand · tvPicture · tvSetCurSel · tvSetData · tvSetPicture · tvSetValue · tvSort · tvSortByValue · tvText · tvValue