tvSetPictureRightColor: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], *\[\[([^ ]+)\]\]" to "|seealso= $1 $2")
mNo edit summary
 
(7 intermediate revisions by one other user not shown)
Line 12: Line 12:
|p1= idc: [[Number]]
|p1= idc: [[Number]]


|p2= path: [[Array]] - path to tree view item
|p2= path: [[Tree View Path]]


|p3= color: [[Color|Color (RGBA)]]
|p3= color: [[Color|Color (RGBA)]]
Line 22: Line 22:
|p21= control: [[Control]]
|p21= control: [[Control]]


|p22= path: [[Array]] - path to tree view item
|p22= path: [[Tree View Path]]


|p23= color: [[Color|Color (RGBA)]]
|p23= color: [[Color|Color (RGBA)]]
Line 28: Line 28:
|r2= [[Nothing]]
|r2= [[Nothing]]


|x1= <code>[[tvSetPictureRightColor]] [101, [0], [1,0,1,1]];</code>
|x1= <sqf>tvSetPictureRightColor [101, [0], [1,0,1,1]];</sqf>


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


|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]]
}}
}}

Latest revision as of 02:40, 3 January 2026

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: Tree View Path
color: Color (RGBA)
Return Value:
Nothing

Alternative Syntax

Syntax:
control tvSetPictureRightColor [path, color]
Parameters:
control: Control
path: Tree View Path
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 tvSetPictureColorSelected tvSetPictureColorDisabled tvSetPictureRightColorSelected tvSetPictureRightColorDisabled

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note