tvSetSelectColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9]) *= * <code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 12: Line 12:
|p1= ctrl: [[Control]]
|p1= ctrl: [[Control]]


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


|p3= color: [[Array]] - Color RGBA
|p3= color: [[Array]] format [[Color|Color (RGBA)]]


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

Latest revision as of 13:17, 15 June 2024

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 of Numbers - path of the item
color: Array format 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