tvSetPictureColorSelected: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
Line 6: Line 6:
|gr1= GUI Control - Tree View
|gr1= GUI Control - Tree View


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


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

Revision as of 21:26, 13 June 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