tvSetPictureColor: Difference between revisions
Jump to navigation
Jump to search
SilentSpike (talk | contribs) (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. |= | | Sets the colour of the picture (set via [[tvSetPicture]]) under the specified tree view path. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[tvSetPictureColor]] [idc, path, color] |= | | [[tvSetPictureColor]] [idc, path, color] |SYNTAX= | ||
|p1= idc: [[Number]] - IDC of the tree view control. |= | |p1= idc: [[Number]] - IDC of the tree view control. |PARAMETER1= | ||
|p2= path: [[Array]] - Array containing path numbers. |= | |p2= path: [[Array]] - Array containing path numbers. |PARAMETER2= | ||
|p3= color: [[Color]] |= | |p3= color: [[Color]] |PARAMETER3= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
Line 41: | Line 41: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[tvSetPictureColor]] [101, [0,2], [1,0,1,1]];</code> |= | |x1= <code>[[tvSetPictureColor]] [101, [0,2], [1,0,1,1]];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x2= <code>_tree [[tvSetPictureColor]] [[0,2], [1,0,1,1]];</code> |= | |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]] |= | | [[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
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