tvSetPictureColorDisabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 6: Line 5:


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


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


____________________________________________________________________________________________


| control [[tvSetPictureColorDisabled]] [path, color] |SYNTAX=
| control [[tvSetPictureColorDisabled]] [path, color] |SYNTAX=
Line 23: Line 20:


| [[Nothing]] |RETURNVALUE=  
| [[Nothing]] |RETURNVALUE=  
____________________________________________________________________________________________


|x1= <code>_control [[tvSetPictureColorDisabled]] [[0], [1,0,1,1]]</code> |EXAMPLE2=
|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=
| [[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=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 04:22, 17 January 2021

Hover & click on the images for description

Description

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

Syntax

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

Examples

Example 1:
_control tvSetPictureColorDisabled [[0], [1,0,1,1]]

Additional Information

See also:
tvAddtvCleartvCollapsetvCounttvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetValuetvSorttvSortByValuetvValuetvTexttvSetTexttvSetPicturetvSetPictureColortvSetPictureRighttvSetPictureColortvSetPictureColorSelectedtvSetPictureRightColortvSetPictureRightColorSelectedtvSetPictureRightColorDisabled

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

Notes

Bottom Section