tvPicture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (al & el)
(syntax & example)
Line 14: Line 14:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''tvPicture''' [idc, [path]] |= Syntax
| [[tvPicture]] [idc, [path]] |= Syntax


|p1= [idc, [path]]: [[Array]] |= PARAMETER1  
|p1= [idc, [path]]: [[Array]] |= PARAMETER1  
Line 23: Line 23:


| [[String]] |= RETURNVALUE  
| [[String]] |= RETURNVALUE  
____________________________________________________________________________________________
| s2= _ctrl [[tvPicture]] [path] |= Syntax


| p21= _ctrl: [[Control]] |= PARAMETER1
| p22= [path]: [[Array]] of [[Number]] |= PARAMETER2
| r2= [[String]] |= RETURNVALUE
____________________________________________________________________________________________


|x1= <code>[[tvPicture]] [101, [0]];</code> |= Example 1
|x1= <code>[[tvPicture]] [101, [0]];</code> |= Example 1
|x2= <code>_ctrl [[tvPicture]] [0,0,0];</code> |= Example 2
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 10:11, 11 September 2014

Hover & click on the images for description

Description

Description:
Returns name of picture from item pointed to by path. IDC means id of parent Tree View.
Groups:
Uncategorised

Syntax

Syntax:
tvPicture [idc, [path]]
Parameters:
[idc, [path]]: Array
idc: Number
[path]: Array - Array containing numbers.
Return Value:
String

Alternative Syntax

Syntax:
_ctrl tvPicture [path]
Parameters:
_ctrl: Control
[path]: Array of Number
Return Value:
String

Examples

Example 1:
tvPicture [101, [0]];
Example 2:
_ctrl tvPicture [0,0,0];

Additional Information

See also:
tvAddtvCleartvCollapsetvCounttvCurSeltvDatatvDeletetvExpandtvSetCurSeltvSetDatatvSetPicturetvSetValuetvSorttvSortByValuetvTexttvValue

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