tvSetPictureRightColorSelected: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Some wiki formatting)
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


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


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


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


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


|p1= control: [[Control]]
|p1= control: [[Control]]


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


|p3= path: [[Array]] - path to tree view item
|p3= color: [[Array]] - color in format [r,g,b,a]
 
|p4= color: [[Array]] - color in format [r,g,b,a]


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


|x1= <code>_control [[tvSetPictureRightColorSelected]] [[0], [1,0,1,1]]</code>
|x1= <sqf>_control tvSetPictureRightColorSelected [[0], [1,0,1,1]];</sqf>


|seealso= [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvValue]], [[tvText]], [[tvSetText]], [[tvSetPicture]], [[tvSetPictureColor]], [[tvSetPictureRight]], [[tvSetPictureColor]], [[tvSetPictureColorSelected]], [[tvSetPictureColorDisabled]], [[tvSetPictureRightColor]], [[tvSetPictureRightColorDisabled]]
|seealso= [[tvAdd]] [[tvClear]] [[tvCollapse]] [[tvCount]] [[tvCurSel]] [[tvData]] [[tvDelete]] [[tvExpand]] [[tvPicture]] [[tvSetCurSel]] [[tvSetData]] [[tvSetValue]] [[tvSort]] [[tvSortByValue]] [[tvValue]] [[tvText]] [[tvSetText]] [[tvSetPicture]] [[tvSetPictureColor]] [[tvSetPictureRight]] [[tvSetPictureColor]] [[tvSetPictureColorSelected]] [[tvSetPictureColorDisabled]] [[tvSetPictureRightColor]] [[tvSetPictureRightColorDisabled]]
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}

Latest revision as of 15:44, 15 August 2022

Hover & click on the images for description

Description

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

Syntax

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

Examples

Example 1:
_control tvSetPictureRightColorSelected [[0], [1,0,1,1]];

Additional Information

See also:
tvAdd tvClear tvCollapse tvCount tvCurSel tvData tvDelete tvExpand tvPicture tvSetCurSel tvSetData tvSetValue tvSort tvSortByValue tvValue tvText tvSetText tvSetPicture tvSetPictureColor tvSetPictureRight tvSetPictureColor tvSetPictureColorSelected tvSetPictureColorDisabled tvSetPictureRightColor tvSetPictureRightColorDisabled

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