tvData: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (pure unadulterated pedantry)
m (control cat added)
Line 52: Line 52:
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]

Revision as of 23:02, 13 August 2014

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