tvData: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
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

Hover & click on the images for description

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