tvSetPictureColorSelected: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
mNo edit summary
 
(49 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


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


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


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


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


| control [[tvSetPictureColorSelected]] [path, color] |SYNTAX=
|p1= control: [[Control]]


| p1= control: [[Control]] |PARAMETER1=
|p2= path: [[Array]] of [[Number]]s - path to tree view item


| p2= [path, color]: [[Array]] |PARAMETER2=
|p3= color: [[Array]] format [[Color|Color (RGBA)]]


| p3= path: [[Array]] - path to tree view item |PARAMETER3=
|r1= [[Nothing]]


| p4= color: [[Array]] - color in format [r,g,b,a]|PARAMETER4=
|x1= <sqf>_control tvSetPictureColorSelected [[0], [1,0,1,1]];</sqf>


| [[Nothing]] |RETURNVALUE=
|seealso= [[tvAdd]] [[tvClear]] [[tvCollapse]] [[tvCount]] [[tvCurSel]] [[tvData]] [[tvDelete]] [[tvExpand]] [[tvPicture]] [[tvSetCurSel]] [[tvSetData]] [[tvSetValue]] [[tvSort]] [[tvSortByValue]] [[tvValue]] [[tvText]] [[tvSetText]] [[tvSetPicture]] [[tvSetPictureColor]] [[tvSetPictureRight]] [[tvSetPictureColor]] [[tvSetPictureColorDisabled]] [[tvSetPictureRightColor]] [[tvSetPictureRightColorSelected]] [[tvSetPictureRightColorDisabled]]
____________________________________________________________________________________________
 
|x1= <code>_control [[tvSetPictureColorSelected]] [[0], [1,0,1,1]]</code> |EXAMPLE2=
____________________________________________________________________________________________
 
| [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvValue]], [[tvText]], [[tvSetText]], [[tvSetPicture]], [[tvSetPictureColor]], [[tvSetPictureRight]], [[tvSetPictureColor]], [[tvSetPictureColorDisabled]], [[tvSetPictureRightColor]], [[tvSetPictureRightColorSelected]], [[tvSetPictureRightColorDisabled]] |SEEALSO=
 
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
</dl>
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma3|New_Scripting_Commands_List}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 14:17, 15 June 2024

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: Array of Numbers - path to tree view item
color: Array format Color (RGBA)
Return Value:
Nothing

Examples

Example 1:
_control tvSetPictureColorSelected [[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 tvSetPictureColorDisabled tvSetPictureRightColor 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