tvSetPictureColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= ____________________________________________________________________________________________ | arma3 |= Game |0.74|= Game Version |arg= local |= Multiplayer Arg...")
 
m (template:command argument fix)
Line 13: Line 13:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets the colour of the picture (set via [[tvSetPicture]]) under the specified tree view path. |= Description
| Sets the colour of the picture (set via [[tvSetPicture]]) under the specified tree view path. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[tvSetPictureColor]] [idc, path, color] |= Syntax
| [[tvSetPictureColor]] [idc, path, color] |SYNTAX=


|p1= idc: [[Number]] - IDC of the tree view control. |= Parameter 1
|p1= idc: [[Number]] - IDC of the tree view control. |PARAMETER1=


|p2= path: [[Array]] - Array containing path numbers. |= Parameter 2
|p2= path: [[Array]] - Array containing path numbers. |PARAMETER2=


|p3= color: [[Color]] |= Parameter 3
|p3= color: [[Color]] |PARAMETER3=


| [[Nothing]] |= Return Value
| [[Nothing]] |RETURNVALUE=




Line 41: Line 41:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>[[tvSetPictureColor]] [101, [0,2], [1,0,1,1]];</code> |= Example 1
|x1= <code>[[tvSetPictureColor]] [101, [0,2], [1,0,1,1]];</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x2= <code>_tree [[tvSetPictureColor]] [[0,2], [1,0,1,1]];</code> |= Example 2
|x2= <code>_tree [[tvSetPictureColor]] [[0,2], [1,0,1,1]];</code> |EXAMPLE2=
____________________________________________________________________________________________
____________________________________________________________________________________________


|mp= - |= Multiplayer Behaviour
|mp= - |= Multiplayer Behaviour


| [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |= See Also
| [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |SEEALSO=


}}
}}

Revision as of 14:50, 7 April 2019

Hover & click on the images for description

Description

Description:
Sets the colour of the picture (set via tvSetPicture) under the specified tree view path.
Multiplayer:
-
Groups:
Uncategorised

Syntax

Syntax:
tvSetPictureColor [idc, path, color]
Parameters:
idc: Number - IDC of the tree view control.
path: Array - Array containing path numbers.
color: Color
Return Value:
Nothing

Alternative Syntax

Syntax:
ctrl tvSetPictureColor [path, color]
Parameters:
ctrl: Control
path: Array - Array containing path numbers.
color: Color
Return Value:
Nothing

Examples

Example 1:
tvSetPictureColor [101, [0,2], [1,0,1,1]];
Example 2:
_tree tvSetPictureColor [[0,2], [1,0,1,1]];

Additional Information

See also:
tvAddtvCleartvCollapsetvCounttvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetPicturetvSetValuetvSorttvSortByValuetvTexttvValue

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

Bottom Section