tvSetPictureRightColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Color" to "Color (RGBA)")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


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


| 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 |DESCRIPTION=
____________________________________________________________________________________________


| [[tvSetPictureRightColor]] [idc, path, color] |SYNTAX=
| [[tvSetPictureRightColor]] [idc, path, color] |SYNTAX=
Line 22: Line 19:
| [[Nothing]] |RETURNVALUE=  
| [[Nothing]] |RETURNVALUE=  


____________________________________________________________________________________________


| s2= control [[tvSetPictureRightColor]] [path, color] |SYNTAX2=
| s2= control [[tvSetPictureRightColor]] [path, color] |SYNTAX2=
Line 35: Line 31:


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


|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/>[0], [1,0,1,1]];</code> |EXAMPLE2=
|x2= <code>_ctrl [[tvSetPictureRightColor]] [<nowiki/>[0], [1,0,1,1]];</code> |EXAMPLE2=
____________________________________________________________________________________________


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


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



Revision as of 05:20, 17 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