lnbPicture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:ArmA 2: New Scripting Commands List\|{{uc:{{PAGENAME}}}}\]\]\s*" to "")
m (Text replacement - "|PARAMETER1= |p22=" to "|PARAMETER21= |p22=")
Line 23: Line 23:
|s2= control '''lnbPicture''' [row, column] |SYNTAX2=
|s2= control '''lnbPicture''' [row, column] |SYNTAX2=


|p21= Control: [[Control]] |PARAMETER1=  
|p21= Control: [[Control]] |PARAMETER21=
|p22= [row, column]: [[Array]] |PARAMETER2=  
|p22= [row, column]: [[Array]] |PARAMETER2=  
|p23= row: [[Number]] - Index of Row in given Control |PARAMETER3=  
|p23= row: [[Number]] - Index of Row in given Control |PARAMETER3=  

Revision as of 20:24, 19 December 2019

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: Number - Number of Control
row: Number - Index of Row
column: Number - Index of Column
Return Value:
String

Alternative Syntax

Syntax:
control lnbPicture [row, column]
Parameters:
Control: Control
[row, column]: Array
row: Number - Index of Row in given Control
column: Number - Index 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