tvData: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Fred Gandt (talk | contribs) m (pure unadulterated pedantry) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns string data from item on given path. IDC means id of parent Tree View. | | Returns string data from item on given path. IDC means id of parent Tree View. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''tvData''' [idc, [path]] |= Syntax | | '''tvData''' [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 | ||
| [[String]] |= RETURNVALUE | | [[String]] |= RETURNVALUE | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 31: | Line 30: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[tvData]] [101, [0]];</code> |= Example 1 | |||
|x2= <code>(_display [[displayCtrl]] 101) [[tvData]] [0];</code> |= Example 2 | |||
|x2= <code>(_display [[displayCtrl]] 101) [[tvData]] [0]</code>|= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |= | | [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |= See Also | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 12:35, 12 April 2014
Description
- Description:
- Returns string data from item on given path. IDC means id of parent Tree View.
- Groups:
- Uncategorised
Syntax
- Syntax:
- tvData [idc, [path]]
- Parameters:
- [idc, [path]]: Array
- idc: Number
- [path]: Array - Array containing numbers.
- Return Value:
- String
Alternative Syntax
- Syntax:
- control tvData [path]
- Parameters:
- control: Control
- [path]: Array - Array containing numbers.
- Return Value:
- String - (as above).
Examples
- Example 1:
tvData [101, [0]];
- Example 2:
(_display displayCtrl 101) tvData [0];
Additional Information
- See also:
- tvAddtvCleartvCollapsetvCounttvCurSeltvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetPicturetvSetValuetvSorttvSortByValuetvTexttvValue
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