lnbPicture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (note removed)
m (example)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns the picture name of the item with the given position of the 2D listbox. |= Description
| Returns the picture name or path of the item with the given position of the 2D listbox. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 27: Line 27:
|x1= <code>[[lnbPicture]] [200, [1, 1]];</code>|= Example 1
|x1= <code>[[lnbPicture]] [200, [1, 1]];</code>|= Example 1


|x2= <code>_control [[lnbPicture]] [1, 1];</code>|= Example 2
|x2= <code>_control [[lnbPicture]] [1, 1]; //"a3\ui_f\data\gui\cfg\ranks\corporal_gs.paa"</code>|= Example 2
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 13:56, 9 September 2014

Hover & click on the images for description

Description

Description:
Returns the picture name or path of the item with the given position of the 2D listbox.
Groups:
Uncategorised

Syntax

Syntax:
lnbPicture [idc, [row, column]]
Parameters:
[idc, [row, column]]: Array
IDC: Identifier Number of Control
Row: Index Number of Row
Column: Index Number of Column
Return Value:
String

Alternative Syntax

Syntax:
control lnbPicture [row, column]
Parameters:
Control: Given Control
[row, column]: Array
Row: Index Number of Row in given Control
Column: Index Number of Column in given Control
Return Value:
String

Examples

Example 1:
lnbPicture [200, [1, 1]];
Example 2:
_control lnbPicture [1, 1]; //"a3\ui_f\data\gui\cfg\ranks\corporal_gs.paa"

Additional Information

See also:
lnbAddArraylnbAddColumnlnbAddRowlnbClearlnbColorlnbCurSelRowlnbDatalnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbSetColorlnbSetColumnsPoslnbSetCurSelRowlnbSetDatalnbSetPicturelnbSetTextlnbSetValuelnbSizelnbTextlnbValue

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