lnbPicture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *s([0-9]) *= ([^ ]+)? ?'''([a-zA-Z0-9_]+)''' ?([^ ]+)? " to " |s$1= $2 $3 $4 ")
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=")
Line 21: Line 21:
| Returns the picture name or path of the item with the given position of the 2D listbox.
| Returns the picture name or path of the item with the given position of the 2D listbox.


| '''lnbPicture''' [idc, [row, column]]
|s1=  '''lnbPicture''' [idc, [row, column]]


|p1= idc: [[Number]] - Number of [[Control]]
|p1= idc: [[Number]] - Number of [[Control]]

Revision as of 00:14, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control - ListNBox

Syntax

Syntax:
lnbPicture [idc, [row, column]]
Parameters:
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: 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