tvSetPictureRightColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], *\[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], *\[\[([^ ]+)\]\]" to "|seealso= $1 ")
Line 32: Line 32:
|x2= <code>_ctrl [[tvSetPictureRightColor]] [<nowiki/>[0], [1,0,1,1]];</code>
|x2= <code>_ctrl [[tvSetPictureRightColor]] [<nowiki/>[0], [1,0,1,1]];</code>


|seealso= [[tvAdd]] [[tvClear]] [[tvCollapse]] [[tvCount]] [[tvCurSel]] [[tvData]] [[tvDelete]] [[tvExpand]] [[tvPicture]] [[tvSetCurSel]] [[tvSetData]] [[tvSetValue]] [[tvSort]] [[tvSortByValue]] [[tvValue]] [[tvText]] [[tvSetText]] [[tvSetPicture]] [[tvSetPictureColor]] [[tvSetPictureRight]] [[tvSetPictureColor]], [[tvSetPictureColorSelected]], [[tvSetPictureColorDisabled]], [[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]], [[tvSetPictureColorDisabled]], [[tvSetPictureRightColorSelected]], [[tvSetPictureRightColorDisabled]]
}}
}}

Revision as of 22:27, 20 January 2022

Hover & click on the images for description

Description

Description:
Sets color of the right picture on the tree view item defined by path
Groups:
GUI Control - Tree View

Syntax

Syntax:
tvSetPictureRightColor [idc, path, color]
Parameters:
idc: Number
path: Array - path to tree view item
color: Color (RGBA)
Return Value:
Nothing

Alternative Syntax

Syntax:
control tvSetPictureRightColor [path, color]
Parameters:
control: Control
path: Array - path to tree view item
color: Color (RGBA)
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:
tvAdd tvClear tvCollapse tvCount tvCurSel tvData tvDelete tvExpand tvPicture tvSetCurSel tvSetData tvSetValue tvSort tvSortByValue tvValue tvText tvSetText tvSetPicture tvSetPictureColor tvSetPictureRight tvSetPictureColor tvSetPictureColorSelectedtvSetPictureColorDisabledtvSetPictureRightColorSelectedtvSetPictureRightColorDisabled

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