tvSetPictureColorSelected: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| +(x[0-9]|p[0-9]{1,2}|descr|game[0-9]|version[0-9]|s[0-9]|exec|r[0-9]|arg|eff|branch|serverExec|gr[0-9]|mp|pr|seealso) *=" to " |$1=") |
BrettMayson (talk | contribs) mNo edit summary |
||
(35 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|1.62 | |version1= 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 | |descr= Sets the color of the left picture of a tree item defined by path when item is selected | ||
| control [[tvSetPictureColorSelected]] [path, color] | |s1= control [[tvSetPictureColorSelected]] [path, color] | ||
|p1= control: [[Control]] | |p1= control: [[Control]] | ||
|p2= | |p2= path: [[Array]] of [[Number]]s - path to tree view item | ||
|p3= | |p3= color: [[Array]] format [[Color|Color (RGBA)]] | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>_control tvSetPictureColorSelected [[0], [1,0,1,1]];</sqf> | ||
|seealso= [[tvAdd]] | |seealso= [[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]] | ||
}} | }} | ||
Latest revision as of 14:17, 15 June 2024
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: Array of Numbers - path to tree view item
- color: Array format Color (RGBA)
- Return Value:
- Nothing
Examples
- Example 1:
- _control tvSetPictureColorSelected [[0], [1,0,1,1]];
Additional Information
- See also:
- 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
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