lnbSetPicture: Difference between revisions
Jump to navigation
Jump to search
Fred Gandt (talk | contribs) 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. | | | ||
*Sets the picture in the item with the given position of the 2D listbox. | |||
Name is the picture name. | *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). |= 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([[Number]]), [ Row([[Number]]), Column([[Number]]) ], PicturePathOrPictureName([[String]])]; |= Syntax | ||
|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 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:11, 6 September 2014
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