tvSetPictureRightColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|SYNTAX= | p21=" to "|SYNTAX2= |p21=")
m (Text replacement - " <nowiki>[</nowiki>" to " [<nowiki/>")
Line 38: Line 38:
|x1= <code>[[tvSetPictureRightColor]] [101, [0], [1,0,1,1]];</code> |EXAMPLE1=
|x1= <code>[[tvSetPictureRightColor]] [101, [0], [1,0,1,1]];</code> |EXAMPLE1=


|x2= <code>_ctrl [[tvSetPictureRightColor]] <nowiki>[</nowiki>[0], [1,0,1,1]];</code> |EXAMPLE2=
|x2= <code>_ctrl [[tvSetPictureRightColor]] [<nowiki/>[0], [1,0,1,1]];</code> |EXAMPLE2=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 12:47, 19 March 2020

Hover & click on the images for description

Description

Description:
Sets color of the right picture on the tree view item defined by path
Groups:
Uncategorised

Syntax

Syntax:
tvSetPictureRightColor [idc, path, color]
Parameters:
[idc, path, color]: Array
idc: Number
path: Array - path to tree view item
color: Array - color in format [r,g,b,a]
Return Value:
Nothing

Alternative Syntax

Syntax:
control tvSetPictureRightColor [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:
tvSetPictureRightColor [101, [0], [1,0,1,1]];
Example 2:
_ctrl tvSetPictureRightColor [[0], [1,0,1,1]];

Additional Information

See also:
tvAddtvCleartvCollapsetvCounttvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetValuetvSorttvSortByValuetvValuetvTexttvSetTexttvSetPicturetvSetPictureColortvSetPictureRighttvSetPictureColortvSetPictureColorSelectedtvSetPictureColorDisabledtvSetPictureRightColorSelectedtvSetPictureRightColorDisabled

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