tvSetPictureRightColor: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 6: | Line 6: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Sets color of the right picture on the tree view item defined by path |= | | Sets color of the right picture on the tree view item defined by path |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[tvSetPictureRightColor]] [idc, path, color] |= | | [[tvSetPictureRightColor]] [idc, path, color] |SYNTAX= | ||
| p1= [idc, path, color]: [[Array]] |PARAMETER1= | | p1= [idc, path, color]: [[Array]] |PARAMETER1= | ||
Line 23: | Line 23: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| s2= control [[tvSetPictureRightColor]] [path, color] |= | | s2= control [[tvSetPictureRightColor]] [path, color] |SYNTAX= | ||
| p21= control: [[Control]] |PARAMETER1= | | p21= control: [[Control]] |PARAMETER1= | ||
Line 36: | Line 36: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[tvSetPictureRightColor]] [101, [0], [1,0,1,1]];</code> |= | |x1= <code>[[tvSetPictureRightColor]] [101, [0], [1,0,1,1]];</code> |EXAMPLE1= | ||
|x2= <code>_ctrl [[tvSetPictureRightColor]] <nowiki>[</nowiki>[0], [1,0,1,1]];</code> |= | |x2= <code>_ctrl [[tvSetPictureRightColor]] <nowiki>[</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]] |= | | [[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 14:50, 7 April 2019
Description
- Description:
- Sets color of the right picture on the tree view item defined by path
- Groups:
- Uncategorised
Syntax
- Syntax:
- tvSetPictureRightColor [idc, path, color]
- Parameters:
- [idc, path, color]: Array
- idc: Number
- path: Array - path to tree view item
- color: Array - color in format [r,g,b,a]
- 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 - color 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