tvSetColor: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) 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]] | |p21= control: [[Control]] | ||
|p22= path: [[Array]] - [[Tree View Path]] of the item | |p22= path: [[Array]] - [[Tree View Path]] of the item | ||
|p23= color: [[Array]] - item text color in format [r,g,b,a] | |p23= color: [[Array]] - item text color in format [r,g,b,a] | ||
|r2= [[Nothing]] | |r2= [[Nothing]] |
Revision as of 18:10, 29 January 2021
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