tvSetPictureRight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 6: Line 6:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets right picture on the tree view item defined by path |= Description
| Sets right picture on the tree view item defined by path |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[tvSetPictureRight]] [idc, path, name] |= Syntax
| [[tvSetPictureRight]] [idc, path, name] |SYNTAX=


| p1= [idc, path, name]: [[Array]] |PARAMETER1=  
| p1= [idc, path, name]: [[Array]] |PARAMETER1=  
Line 23: Line 23:
____________________________________________________________________________________________
____________________________________________________________________________________________


| s2= control [[tvSetPictureRight]] [path, name] |= Syntax
| s2= control [[tvSetPictureRight]] [path, name] |SYNTAX=


| p21= control: [[Control]] |PARAMETER1=  
| p21= control: [[Control]] |PARAMETER1=  
Line 36: Line 36:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>[[tvSetPictureRight]] [101, [0], "picture"];</code> |= Example 1
|x1= <code>[[tvSetPictureRight]] [101, [0], "picture"];</code> |EXAMPLE1=


|x2= <code>_ctrl [[tvSetPictureRight]] <nowiki>[</nowiki>[0], "picture"];</code> |= Example 2
|x2= <code>_ctrl [[tvSetPictureRight]] <nowiki>[</nowiki>[0], "picture"];</code> |EXAMPLE2=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvValue]], [[tvText]], [[tvSetText]], [[tvSetPicture]], [[tvSetPictureColor]], [[tvSetPictureColor]], [[tvSetPictureColorSelected]], [[tvSetPictureColorDisabled]], [[tvSetPictureRightColor]], [[tvSetPictureRightColorSelected]], [[tvSetPictureRightColorDisabled]] |= See Also
| [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvValue]], [[tvText]], [[tvSetText]], [[tvSetPicture]], [[tvSetPictureColor]], [[tvSetPictureColor]], [[tvSetPictureColorSelected]], [[tvSetPictureColorDisabled]], [[tvSetPictureRightColor]], [[tvSetPictureRightColorSelected]], [[tvSetPictureRightColorDisabled]] |SEEALSO=


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 14:50, 7 April 2019

Hover & click on the images for description

Description

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

Syntax

Syntax:
tvSetPictureRight [idc, path, name]
Parameters:
[idc, path, name]: Array
idc: Number
path: Array - path to tree view item
name: String - picture texture
Return Value:
Nothing

Alternative Syntax

Syntax:
control tvSetPictureRight [path, name]
Parameters:
control: Control
[path, name]: Array
path: Array - path to tree view item
name: String - picture texture
Return Value:
Nothing

Examples

Example 1:
tvSetPictureRight [101, [0], "picture"];
Example 2:
_ctrl tvSetPictureRight [[0], "picture"];

Additional Information

See also:
tvAddtvCleartvCollapsetvCounttvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetValuetvSorttvSortByValuetvValuetvTexttvSetTexttvSetPicturetvSetPictureColortvSetPictureColortvSetPictureColorSelectedtvSetPictureColorDisabledtvSetPictureRightColortvSetPictureRightColorSelectedtvSetPictureRightColorDisabled

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