tvSetColor: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Sets text color on given Tree View Item |= | | Sets text color on given Tree View Item |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''tvSetColor''' [idc, path, color] |= | | '''tvSetColor''' [idc, path, color] |SYNTAX= | ||
|p1= [idc, path, color]: [[Array]] |PARAMETER1= | |p1= [idc, path, color]: [[Array]] |PARAMETER1= | ||
Line 24: | Line 24: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| s2= control '''tvSetColor''' [path, color] |= | | s2= control '''tvSetColor''' [path, color] |SYNTAX= | ||
| p21= control: [[Control]] |PARAMETER1= | | p21= control: [[Control]] |PARAMETER1= | ||
Line 35: | Line 35: | ||
|x1= <code>[[tvSetColor]] [101, [0,0], [1,0,0,1]];</code> |= | |x1= <code>[[tvSetColor]] [101, [0,0], [1,0,0,1]];</code> |EXAMPLE1= | ||
|x2= <code>_ctrl [[tvSetColor]] [[0,0], [1,0,0,1]];</code> |= | |x2= <code>_ctrl [[tvSetColor]] [[0,0], [1,0,0,1]];</code> |EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[tvDelete]], [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |= | | [[tvDelete]], [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 14:50, 7 April 2019
Description
- Description:
- Sets text color on given Tree View Item
- Groups:
- Uncategorised
Syntax
- Syntax:
- tvSetColor [idc, path, color]
- Parameters:
- [idc, path, color]: Array
- idc: Number
- path: Array - Tree View Path of the item
- color: Array - Item text color
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- control tvSetColor [path, color]
- Parameters:
- control: Control
- path: Array - Tree View Path of the item
- color: Array - Item text color
- Return Value:
- Nothing
Examples
- Example 1:
tvSetColor [101, [0,0], [1,0,0,1]];
- Example 2:
_ctrl tvSetColor [[0,0], [1,0,0,1]];
Additional Information
- See also:
- tvDeletetvAddtvCleartvCollapsetvCounttvCurSeltvDatatvExpandtvPicturetvSetCurSeltvSetDatatvSetPicturetvSetValuetvSorttvSortByValuetvTexttvValue
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