tvSetValue: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)<nowiki\/?>([^<]*)<\/code>" to "<code>$1$2</code>") |
||
Line 34: | Line 34: | ||
|x1= <sqf>tvSetValue [101, [0], 555];</sqf> | |x1= <sqf>tvSetValue [101, [0], 555];</sqf> | ||
|x2= <code>_ctrl tvSetValue [ | |x2= <code>_ctrl tvSetValue [[0,0,0], 14];</code> | ||
|seealso= [[tvAdd]] [[tvClear]] [[tvCollapse]] [[tvCount]] [[tvCurSel]] [[tvData]] [[tvDelete]] [[tvExpand]] [[tvPicture]] [[tvSetCurSel]] [[tvSetData]] [[tvSetPicture]] [[tvSort]] [[tvSortByValue]] [[tvText]] [[tvValue]] | |seealso= [[tvAdd]] [[tvClear]] [[tvCollapse]] [[tvCount]] [[tvCurSel]] [[tvData]] [[tvDelete]] [[tvExpand]] [[tvPicture]] [[tvSetCurSel]] [[tvSetData]] [[tvSetPicture]] [[tvSort]] [[tvSortByValue]] [[tvText]] [[tvValue]] | ||
}} | }} |
Revision as of 10:28, 13 May 2022
{{RV|type=command
|game1= arma3 |version1= 0.74
|gr1= GUI Control - Tree View
|arg= local
|eff= local
|descr= Sets scalar data to item on given path. IDC means id of parent Tree View. If the given value is not integer, it will be converted to integer
|s1= tvSetValue [idc, path, val]
|p1= idc: Number
|p3= val: Number
|r1= Nothing
|s2= ctrl tvSetValue [path, val]
|p21= ctrl: Control
|p23= val: Number
|r2= Nothing
|x1=
tvSetValue [101, [0], 555];
|x2= _ctrl tvSetValue [[0,0,0], 14];
|seealso= tvAdd tvClear tvCollapse tvCount tvCurSel tvData tvDelete tvExpand tvPicture tvSetCurSel tvSetData tvSetPicture tvSort tvSortByValue tvText tvValue }}