tvSetPictureRightColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {3,}\|" to " |")
m (Text replacement - "\|x([0-9]) *= * <code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(37 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{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]


|p2= idc: [[Number]]
|s1= [[tvSetPictureRightColor]] [idc, path, color]


|p3= path: [[Array]] - path to tree view item
|p1= idc: [[Number]]


|p4= color: [[Color|Color (RGBA)]]
|p2= path: [[Array]] - path to tree view item


| [[Nothing]]
|p3= color: [[Color|Color (RGBA)]]


| s2= control [[tvSetPictureRightColor]] [path, color]
|r1= [[Nothing]]


|p21= control: [[Control]] |PARAMETER21=
|s2= control [[tvSetPictureRightColor]] [path, color]


|p22= [path, color]: [[Array]] |PARAMETER22=
|p21= control: [[Control]]


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


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


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


|x1= <code>[[tvSetPictureRightColor]] [101, [0], [1,0,1,1]];</code>
|x1= <sqf>tvSetPictureRightColor [101, [0], [1,0,1,1]];</sqf>
 
|x2= <code>_ctrl [[tvSetPictureRightColor]] [<nowiki/>[0], [1,0,1,1]];</code>


| [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvValue]], [[tvText]], [[tvSetText]], [[tvSetPicture]], [[tvSetPictureColor]], [[tvSetPictureRight]], [[tvSetPictureColor]], [[tvSetPictureColorSelected]], [[tvSetPictureColorDisabled]], [[tvSetPictureRightColorSelected]], [[tvSetPictureRightColorDisabled]]
|x2= <sqf>_ctrl tvSetPictureRightColor [[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]] [[tvSetPictureRightColorSelected]] [[tvSetPictureRightColorDisabled]]
}}
}}
<dl class='command_description'>
</dl>

Latest revision as of 10:38, 13 May 2022

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]
Parameters:
idc: Number
path: Array - path to tree view item
color: Color (RGBA)
Return Value:
Nothing

Alternative Syntax

Syntax:
control tvSetPictureRightColor [path, color]
Parameters:
control: Control
path: Array - path to tree view item
color: 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:
tvAdd tvClear tvCollapse tvCount tvCurSel tvData tvDelete tvExpand tvPicture tvSetCurSel tvSetData tvSetValue tvSort tvSortByValue tvValue tvText tvSetText tvSetPicture tvSetPictureColor tvSetPictureRight tvSetPictureColor tvSetPictureColorSelected tvSetPictureColorDisabled tvSetPictureRightColorSelected 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