tvSetPictureColorSelected: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style='display:none'>Bottom Section</h3>" to "")
m (Text replacement - " {3,}\|" to " |")
Line 7: Line 7:


| Sets the color of the left picture of a tree item defined by path when item is selected
| Sets the color of the left picture of a tree item defined by path when item is selected


| control [[tvSetPictureColorSelected]] [path, color]
| control [[tvSetPictureColorSelected]] [path, color]

Revision as of 18:10, 18 January 2021

Hover & click on the images for description

Description

Description:
Sets the color of the left picture of a tree item defined by path when item is selected
Groups:
GUI Control - Tree View

Syntax

Syntax:
control tvSetPictureColorSelected [path, color]
Parameters:
control: Control
[path, color]: Array
path: Array - path to tree view item
color: Array - color in format [r,g,b,a]
Return Value:
Nothing

Examples

Example 1:
_control tvSetPictureColorSelected [[0], [1,0,1,1]]

Additional Information

See also:
tvAddtvCleartvCollapsetvCounttvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetValuetvSorttvSortByValuetvValuetvTexttvSetTexttvSetPicturetvSetPictureColortvSetPictureRighttvSetPictureColortvSetPictureColorDisabledtvSetPictureRightColortvSetPictureRightColorSelectedtvSetPictureRightColorDisabled

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