tvData: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|0.74 | |0.74 | ||
|gr1= GUI Control - Tree View | |gr1= GUI Control - Tree View | ||
|arg= local | |arg= local | ||
|eff= local | |eff= local | ||
| 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. | ||
| '''tvData''' [idc, [path]] | | '''tvData''' [idc, [path]] | ||
|p1= [idc, [path]]: [[Array]] | |p1= [idc, [path]]: [[Array]] | ||
|p2= idc: [[Number]] | |p2= idc: [[Number]] | ||
|p3= [path]: [[Array]] - Array containing numbers. | |p3= [path]: [[Array]] - Array containing numbers. | ||
| [[String]] | | [[String]] | ||
|s2= control '''tvData''' [path] | |s2= control '''tvData''' [path] | ||
|p21= control: [[Control]] |PARAMETER21= | |p21= control: [[Control]] |PARAMETER21= | ||
Line 29: | Line 29: | ||
|p22= [path]: [[Array]] - Array containing numbers. |PARAMETER22= | |p22= [path]: [[Array]] - Array containing numbers. |PARAMETER22= | ||
|r2= [[String]] - (as above). | |r2= [[String]] - (as above). | ||
|x1= <code>[[tvData]] [101, [0]];</code> | |x1= <code>[[tvData]] [101, [0]];</code> | ||
|x2= <code>(_display [[displayCtrl]] 101) [[tvData]] [0];</code> | |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]] | ||
| | | | ||
}} | }} |
Revision as of 11:24, 18 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