lnbSetPicture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "lnbsetColumnsPos" to "lnbSetColumnsPos")
m (page modified)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets the picture in the item with the given position of the 2D listbox.
|
<br>
*Sets the picture in the item with the given position of the 2D listbox.
Name is the picture name.
*Name is the picture name.
<br>
*The picture is searched in the mission, directory, the dtaExt subdirectory of the campaign directory, and the dtaExt directory and the data bank (or directory). |= Description
The picture is searched in the mission, directory, the dtaExt subdirectory of the campaign directory, and the dtaExt directory and the data bank (or directory). |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''lnbSetPicture''' [idc, [row, column], name] |= Syntax
| [[lnbSetPicture]] [IDC([[Number]]), [ Row([[Number]]), Column([[Number]]) ], PicturePathOrPictureName([[String]])]; |= Syntax
|p1= [idc, [row, column], name]: Array -  |= PARAMETER1
|p2= |= PARAMETER2
|p3= |= PARAMETER3
| Nothing |= RETURNVALUE


|p1= [ [[Number]], [ [[Number]], [[Number]] ], [[String]] ]: [[Array]] |= PARAMETER1
| [[Nothing]] |= RETURNVALUE
|x1= <code>[[lnbSetPicture]] [1, [0, 0], "Picture"];</code>|= Example 1
|x2= <code>_ctrl [[lnbSetPicture]] [1, [0, 0], "\A3\Ui_f\data\GUI\Cfg\Ranks\lieutenant_gs.paa"];</code>|= Example 2


|x1= <code>[[lnbSetPicture]] [101, [0, 1], iskoda];</code>|= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:11, 6 September 2014

Hover & click on the images for description

Description

Description:
  • Sets the picture in the item with the given position of the 2D listbox.
  • Name is the picture name.
  • The picture is searched in the mission, directory, the dtaExt subdirectory of the campaign directory, and the dtaExt directory and the data bank (or directory).
Groups:
Uncategorised

Syntax

Syntax:
lnbSetPicture [IDC(Number), [ Row(Number), Column(Number) ], PicturePathOrPictureName(String)];
Parameters:
[ Number, [ Number, Number ], String ]: Array
Return Value:
Nothing

Examples

Example 1:
lnbSetPicture [1, [0, 0], "Picture"];
Example 2:
_ctrl lnbSetPicture [1, [0, 0], "\A3\Ui_f\data\GUI\Cfg\Ranks\lieutenant_gs.paa"];

Additional Information

See also:
lnbAddArraylnbAddColumnlnbAddRowlnbClearlnbColorlnbCurSelRowlnbDatalnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbPicturelnbSetColorlnbSetColumnsPoslnbSetCurSelRowlnbSetDatalnbSetTextlnbSetValuelnbSizelnbTextlnbValue

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