tvValue: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Fred Gandt (talk | contribs) m (<code>) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns scalar data from item on given path. IDC means id of parent Tree View. | | Returns scalar data from item on given path. IDC means id of parent Tree View. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''tvValue''' [idc, [path]] |= Syntax | | '''tvValue''' [idc, [path]] |= Syntax | ||
|p1= [idc, [path]]: [[Array]] | |p1= [idc, [path]]: [[Array]] |= PARAMETER1 | ||
|p2= idc: [[Number]] | |p2= idc: [[Number]] |= PARAMETER2 | ||
|p3= [path]: [[Array]] - Array containing numbers. |= PARAMETER3 | |p3= [path]: [[Array]] - Array containing numbers. |= PARAMETER3 | ||
Line 21: | Line 21: | ||
|x1= <code>tvValue [101, [0]]</code>|= | |x1= <code>[[tvValue]] [101, [0]];</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]] |= | | [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]] |= See Also | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 12:39, 12 April 2014
Description
- Description:
- Returns scalar data from item on given path. IDC means id of parent Tree View.
- Groups:
- Uncategorised
Syntax
- Syntax:
- tvValue [idc, [path]]
- Parameters:
- [idc, [path]]: Array
- idc: Number
- [path]: Array - Array containing numbers.
- Return Value:
- Number
Examples
- Example 1:
tvValue [101, [0]];
Additional Information
- See also:
- tvAddtvCleartvCollapsetvCounttvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetPicturetvSetValuetvSorttvSortByValuetvText
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