tvSetSelectColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {2,}\}\}" to " }}")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2")
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Command
{{RV|type=command
 
|game1= arma3


|game1= arma3
|version1= 1.00
|version1= 1.00


|gr1= GUI Control - Tree View
|gr1= GUI Control - Tree View


|descr= Sets the select color of given path.
|descr= Sets the select color of given path.


|s1= ctrl [[tvSetSelectColor]] [path, color]
|s1= ctrl [[tvSetSelectColor]] [path, color]
Line 13: Line 12:
|p1= ctrl: [[Control]]
|p1= ctrl: [[Control]]


|p2= path: [[Array]] - Path of the item
|p2= path: [[Array]] - path of the item


|p3= color: [[Array]] - Color RGBA
|p3= color: [[Array]] - color RGBA


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>_control [[tvSetSelectColor]] <nowiki>[</nowiki>[0, 0], [1,1,1,0.5]];</code>
|x1= <sqf>_control tvSetSelectColor [[0, 0], [1,1,1,0.5]];</sqf>


|seealso= [[tvSetColor]]
|seealso= [[tvSetColor]]
}}
}}

Latest revision as of 16:45, 8 November 2023

Hover & click on the images for description

Description

Description:
Sets the select color of given path.
Groups:
GUI Control - Tree View

Syntax

Syntax:
ctrl tvSetSelectColor [path, color]
Parameters:
ctrl: Control
path: Array - path of the item
color: Array - color RGBA
Return Value:
Nothing

Examples

Example 1:
_control tvSetSelectColor [[0, 0], [1,1,1,0.5]];

Additional Information

See also:
tvSetColor

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