tvSetPictureRightColor: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.62 | |1.62 | ||
|gr1= GUI Control - Tree View | |gr1= GUI Control - Tree View | ||
| 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 | ||
| [[tvSetPictureRightColor]] [idc, path, color] | | [[tvSetPictureRightColor]] [idc, path, color] | ||
|p2= idc: [[Number]] | |p2= idc: [[Number]] | ||
|p3= path: [[Array]] - path to tree view item | |p3= path: [[Array]] - path to tree view item | ||
|p4= color: [[Color|Color (RGBA)]] | |p4= color: [[Color|Color (RGBA)]] | ||
| [[Nothing]] | | [[Nothing]] | ||
| s2= control [[tvSetPictureRightColor]] [path, color] | | s2= control [[tvSetPictureRightColor]] [path, color] | ||
|p21= control: [[Control]] |PARAMETER21= | |p21= control: [[Control]] |PARAMETER21= | ||
Line 30: | Line 30: | ||
|p24= color: [[Array]] in format [r,g,b,a] |PARAMETER24= | |p24= color: [[Array]] in format [r,g,b,a] |PARAMETER24= | ||
|r2= [[Nothing]] | |r2= [[Nothing]] | ||
|x1= <code>[[tvSetPictureRightColor]] [101, [0], [1,0,1,1]];</code> | |x1= <code>[[tvSetPictureRightColor]] [101, [0], [1,0,1,1]];</code> | ||
|x2= <code>_ctrl [[tvSetPictureRightColor]] [<nowiki/>[0], [1,0,1,1]];</code> | |x2= <code>_ctrl [[tvSetPictureRightColor]] [<nowiki/>[0], [1,0,1,1]];</code> | ||
| [[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]] | ||
| | | | ||
}} | }} | ||
Revision as of 11:27, 18 January 2021
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