tvSetPictureRightColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \| *s2 *=" to "|r1=$1 |s2=")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.62
|1.62


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


| Sets color of the right picture on the tree view item defined by path
|descr= Sets color of the right picture on the tree view item defined by path


| [[tvSetPictureRightColor]] [idc, path, color]
|s1= [[tvSetPictureRightColor]] [idc, path, color]


|p2= idc: [[Number]]
|p2= idc: [[Number]]
Line 23: Line 22:
|p21= control: [[Control]]
|p21= control: [[Control]]


|p22= [path, color]: [[Array]]
|p22= path: [[Array]] - path to tree view item
 
|p23= path: [[Array]] - path to tree view item


|p24= color: [[Array]] in format [r,g,b,a]
|p23= color: [[Array]] in format [[Color|Color (RGBA)]]


|r2= [[Nothing]]
|r2= [[Nothing]]

Revision as of 20:15, 13 June 2021

Hover & click on the images for description

Description

Description:
Sets color of the right picture on the tree view item defined by path
Groups:
GUI Control - Tree View

Syntax

Syntax:
tvSetPictureRightColor [idc, path, color]
Return Value:
Nothing

Alternative Syntax

Syntax:
control tvSetPictureRightColor [path, color]
Parameters:
control: Control
path: Array - path to tree view item
color: Array in format Color (RGBA)
Return Value:
Nothing

Examples

Example 1:
tvSetPictureRightColor [101, [0], [1,0,1,1]];
Example 2:
_ctrl tvSetPictureRightColor [[0], [1,0,1,1]];

Additional Information

See also:
tvAddtvCleartvCollapsetvCounttvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetValuetvSorttvSortByValuetvValuetvTexttvSetTexttvSetPicturetvSetPictureColortvSetPictureRighttvSetPictureColortvSetPictureColorSelectedtvSetPictureColorDisabledtvSetPictureRightColorSelectedtvSetPictureRightColorDisabled

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