tvSetPictureColorSelected: 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 the left picture of a tree item defined by path when item is selected |DESCRIPTION=
| Sets the color of the left picture of a tree item defined by path when item is selected |DESCRIPTION=


____________________________________________________________________________________________


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


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


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



Revision as of 04:20, 17 January 2021

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, 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 tvSetPictureColorSelected [[0], [1,0,1,1]]

Additional Information

See also:
tvAddtvCleartvCollapsetvCounttvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetValuetvSorttvSortByValuetvValuetvTexttvSetTexttvSetPicturetvSetPictureColortvSetPictureRighttvSetPictureColortvSetPictureColorDisabledtvSetPictureRightColortvSetPictureRightColorSelectedtvSetPictureRightColorDisabled

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