tvSetPictureColorSelected: 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 the color of the left picture of a tree item defined by path when item is selected | | Sets the color of the left picture of a tree item defined by path when item is selected | ||
| control [[tvSetPictureColorSelected]] [path, color] | | control [[tvSetPictureColorSelected]] [path, color] | ||
| p1= control: [[Control]] | | p1= control: [[Control]] | ||
| p2= [path, color]: [[Array]] | | p2= [path, color]: [[Array]] | ||
| p3= path: [[Array]] - path to tree view item | | p3= path: [[Array]] - path to tree view item | ||
| p4= color: [[Array]] - color in format [r,g,b,a] | | p4= color: [[Array]] - color in format [r,g,b,a] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>_control [[tvSetPictureColorSelected]] [[0], [1,0,1,1]]</code> | |x1= <code>_control [[tvSetPictureColorSelected]] [[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]], [[tvSetPictureColorDisabled]], [[tvSetPictureRightColor]], [[tvSetPictureRightColorSelected]], [[tvSetPictureRightColorDisabled]] | | [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvValue]], [[tvText]], [[tvSetText]], [[tvSetPicture]], [[tvSetPictureColor]], [[tvSetPictureRight]], [[tvSetPictureColor]], [[tvSetPictureColorDisabled]], [[tvSetPictureRightColor]], [[tvSetPictureRightColorSelected]], [[tvSetPictureRightColorDisabled]] | ||
| | | | ||
}} | }} | ||
Revision as of 11:27, 18 January 2021
Description
- Description:
- Sets the color of the left picture of a tree item defined by path when item is selected
- Groups:
- GUI Control - Tree View
Syntax
- Syntax:
- control tvSetPictureColorSelected [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:
_control tvSetPictureColorSelected [[0], [1,0,1,1]]
Additional Information
- See also:
- tvAddtvCleartvCollapsetvCounttvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetValuetvSorttvSortByValuetvValuetvTexttvSetTexttvSetPicturetvSetPictureColortvSetPictureRighttvSetPictureColortvSetPictureColorDisabledtvSetPictureRightColortvSetPictureRightColorSelectedtvSetPictureRightColorDisabled
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