tvSetPictureColorDisabled: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "|Game version=" to "|Game version= |gr1= GUI Control |GROUP1= ")
mNo edit summary
 
(53 intermediate revisions by 3 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 |GROUP1=
|gr1= GUI Control - Tree View


|descr= Sets the color of left picture of a tree item defined by path when that item is disabled.


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


| Sets the color of left picture of a tree item defined by path when item is disabled |DESCRIPTION=
|p1= control: [[Control]]


____________________________________________________________________________________________
|p2= path: [[Tree View Path]]


| control [[tvSetPictureColorDisabled]] [path, color] |SYNTAX=
|p3= color: [[Color|Color (RGBA)]]


| p1= control: [[Control]] |PARAMETER1=
|r1= [[Nothing]]


| p2= [path, color]: [[Array]] |PARAMETER2=
|x1= <sqf>_control tvSetPictureColorDisabled [[0], [1,0,1,1]];</sqf>


| p3= path: [[Array]] - path to tree view item |PARAMETER3=
|seealso= [[tvAdd]] [[tvClear]] [[tvCollapse]] [[tvCount]] [[tvCurSel]] [[tvData]] [[tvDelete]] [[tvExpand]] [[tvPicture]] [[tvSetCurSel]] [[tvSetData]] [[tvSetValue]] [[tvSort]] [[tvSortByValue]] [[tvValue]] [[tvText]] [[tvSetText]] [[tvSetPicture]] [[tvSetPictureColor]] [[tvSetPictureRight]] [[tvSetPictureColor]] [[tvSetPictureColorSelected]] [[tvSetPictureRightColor]] [[tvSetPictureRightColorSelected]] [[tvSetPictureRightColorDisabled]]
 
| p4= color: [[Array]] - color in format [r,g,b,a]|PARAMETER4=
 
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code>_control [[tvSetPictureColorDisabled]] [[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]], [[tvSetPictureColorSelected]], [[tvSetPictureRightColor]], [[tvSetPictureRightColorSelected]], [[tvSetPictureRightColorDisabled]] |SEEALSO=
 
|  |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 02:40, 3 January 2026

Hover & click on the images for description

Description

Description:
Sets the color of left picture of a tree item defined by path when that item is disabled.
Groups:
GUI Control - Tree View

Syntax

Syntax:
control tvSetPictureColorDisabled [path, color]
Parameters:
control: Control
path: Tree View Path
color: Color (RGBA)
Return Value:
Nothing

Examples

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

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note