tvSetColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ")
Line 21: Line 21:
|s2= control '''tvSetColor''' [path, color]
|s2= control '''tvSetColor''' [path, color]


|p21= control: [[Control]] |PARAMETER21=
|p21= control: [[Control]]


|p22= path: [[Array]] - [[Tree View Path]] of the item |PARAMETER22=
|p22= path: [[Array]] - [[Tree View Path]] of the item


|p23= color: [[Array]] - item text color in format [r,g,b,a] |PARAMETER23=
|p23= color: [[Array]] - item text color in format [r,g,b,a]


|r2= [[Nothing]]
|r2= [[Nothing]]

Revision as of 18:10, 29 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control - Tree View

Syntax

Syntax:
Syntax needed
Parameters:
idc: Number
path: Array - Tree View Path of the item
color: Array - Item text color
Return Value:
Return value needed

Alternative Syntax

Syntax:
control tvSetColor [path, color]
Parameters:
control: Control
path: Array - Tree View Path of the item
color: Array - item text color in format [r,g,b,a]
Return Value:
Nothing

Examples

Example 1:
tvSetColor [101, [0,0], [1,0,0,1]];
Example 2:
_ctrl tvSetColor [[0,0], [1,0,0,1]];

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note