tvSetPicture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (<code> and Desc. tidy)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets picture to item selected by path. IDC means id of parent Tree View. Name is picture name. The picture is searched in the mission directory. |= Description
| Sets picture to item selected by path. IDC means id of parent Tree View.
<br>
Name is picture name. The picture is searched in the mission directory. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''tvSetPicture''' [idc, [path], name] |= Syntax
| '''tvSetPicture''' [idc, [path], name] |= Syntax


|p1= [idc, [path], name]: [[Array]] |= PARAMETER1  
|p1= [idc, [path], name]: [[Array]] |= PARAMETER1  


|p2= idc: [[Number]] |= PARAMETER2  
|p2= idc: [[Number]] |= PARAMETER2  


|p3= [path]: [[Array]] - Array containing numbers. |= PARAMETER3  
|p3= [path]: [[Array]] - Array containing numbers. |= PARAMETER3  


|p4= name: [[String]] |= PARAMETER4
|p4= name: [[String]] |= PARAMETER4


| [[Nothing]] |= RETURNVALUE  
| [[Nothing]] |= RETURNVALUE  




|x1= <code>tvSetPicture [101, [0], "picture"]</code>|= EXAMPLE1
|x1= <code>[[tvSetPicture]] [101, [0], "picture"];</code> |= Example 1
 
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |= SEEALSO
| [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |= See Also


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 12:37, 12 April 2014

Hover & click on the images for description

Description

Description:
Sets picture to item selected by path. IDC means id of parent Tree View.
Name is picture name. The picture is searched in the mission directory.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
tvSetPicture [101, [0], "picture"];

Additional Information

See also:
tvAddtvCleartvCollapsetvCounttvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetValuetvSorttvSortByValuetvTexttvValue

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