tvSetPictureRightColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|1.62|Game version=
|1.62


|gr1= GUI Control - Tree View |GROUP1=
|gr1= GUI Control - Tree View


| Sets color of the right picture on the tree view item defined by path |DESCRIPTION=
| Sets color of the right picture on the tree view item defined by path


| [[tvSetPictureRightColor]] [idc, path, color] |SYNTAX=
| [[tvSetPictureRightColor]] [idc, path, color]


|p2= idc: [[Number]] |PARAMETER2=
|p2= idc: [[Number]]


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


|p4= color: [[Color|Color (RGBA)]] |PARAMETER4=
|p4= color: [[Color|Color (RGBA)]]


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




| s2= control [[tvSetPictureRightColor]] [path, color] |SYNTAX2=
| s2= control [[tvSetPictureRightColor]] [path, color]


|p21= control: [[Control]] |PARAMETER21=  
|p21= control: [[Control]] |PARAMETER21=  
Line 30: Line 30:
|p24= color: [[Array]] in format [r,g,b,a] |PARAMETER24=
|p24= color: [[Array]] in format [r,g,b,a] |PARAMETER24=


|r2= [[Nothing]] |RETURNVALUE2=
|r2= [[Nothing]]


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


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


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


| |MPBEHAVIOUR=
|
}}
}}



Revision as of 12:27, 18 January 2021

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