tvData: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 11: | Line 10: | ||
|eff= local |Multiplayer Effects= | |eff= local |Multiplayer Effects= | ||
| Returns string data from item on given path. IDC means id of parent Tree View. |DESCRIPTION= | | Returns string data from item on given path. IDC means id of parent Tree View. |DESCRIPTION= | ||
| '''tvData''' [idc, [path]] |SYNTAX= | | '''tvData''' [idc, [path]] |SYNTAX= | ||
Line 25: | Line 22: | ||
| [[String]] |RETURNVALUE= | | [[String]] |RETURNVALUE= | ||
|s2= control '''tvData''' [path] |Alternative Syntax= | |s2= control '''tvData''' [path] |Alternative Syntax= | ||
Line 34: | Line 30: | ||
|r2= [[String]] - (as above). |RETURNVALUE2= | |r2= [[String]] - (as above). |RETURNVALUE2= | ||
|x1= <code>[[tvData]] [101, [0]];</code> |EXAMPLE1= | |x1= <code>[[tvData]] [101, [0]];</code> |EXAMPLE1= | ||
|x2= <code>(_display [[displayCtrl]] 101) [[tvData]] [0];</code> |EXAMPLE2= | |x2= <code>(_display [[displayCtrl]] 101) [[tvData]] [0];</code> |EXAMPLE2= | ||
| [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |SEEALSO= | | [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} |
Revision as of 04:00, 17 January 2021
Description
- Description:
- Returns string data from item on given path. IDC means id of parent Tree View.
- Groups:
- GUI Control - Tree View
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