tvData: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 34: Line 34:
|x1= <code>[[tvData]] [101, [0]]</code>|= EXAMPLE1  
|x1= <code>[[tvData]] [101, [0]]</code>|= EXAMPLE1  


|x2= <code>(_display [[displayCtrl]] 101) [[tvData]] [0]</code>|= EXAMPLE2
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 16:23, 10 August 2013

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:
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

Notes

Bottom Section