tvSetPictureColorSelected: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (template:command argument fix)
Line 12: Line 12:
| control [[tvSetPictureColorSelected]] [path, color] |= Syntax
| control [[tvSetPictureColorSelected]] [path, color] |= Syntax


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


| p2= [path, color]: [[Array]] |= PARAMETER2
| p2= [path, color]: [[Array]] |PARAMETER2=  


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


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


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


Line 28: Line 28:
| [[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]] |= 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]] |= See Also


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:38, 7 April 2019

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:
Uncategorised

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