tvSetPictureRightColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3dev |= Game name |1.61|= Game version ______________...")
 
m (Text replacement - "\|x([0-9]) *= * <code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(55 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3dev |= Game name
|game1= arma3
|version1= 1.62


|1.61|= Game version
|gr1= GUI Control - Tree View
____________________________________________________________________________________________


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


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


| p1= [idc, path, color]: [[Array]] |= PARAMETER1
|p1= idc: [[Number]]


| p2= idc: [[Number]] |= PARAMETER2
|p2= path: [[Array]] - path to tree view item


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


| p4= color: [[Array]] - color in format [r,g,b,a] |= PARAMETER4
|r1= [[Nothing]]


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


____________________________________________________________________________________________
|p21= control: [[Control]]


| s2= control [[tvSetPictureRightColor]] [path, color] |= Syntax
|p22= path: [[Array]] - path to tree view item


| p21= control: [[Control]] |= PARAMETER1
|p23= color: [[Color|Color (RGBA)]]


| p22= [path, color]: [[Array]] |= PARAMETER2
|r2= [[Nothing]]


| p23= path: [[Array]] - path to tree view item |= PARAMETER3
|x1= <sqf>tvSetPictureRightColor [101, [0], [1,0,1,1]];</sqf>


| p24= color: [[Array]] - color in format [r,g,b,a] |= PARAMETER4
|x2= <sqf>_ctrl tvSetPictureRightColor [[0], [1,0,1,1]];</sqf>


| r2= [[Nothing]] |= RETURNVALUE
|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]]
____________________________________________________________________________________________
 
|x1= <code>[[tvSetPictureRightColor]] [101, [0], [1,0,1,1]];</code> |= Example 1
 
|x2= <code>_ctrl [[tvSetPictureRightColor]] <nowiki>[</nowiki>[0], [1,0,1,1]];</code> |= Example 2
____________________________________________________________________________________________
 
| [[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]] |= See Also
 
|  |= MPBEHAVIOUR
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]

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