lnbPicture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "\] +\[" to "] [")
 
(5 intermediate revisions by 2 users not shown)
Line 23: Line 23:
|s1= [[lnbPicture]] [idc, [row, column]]
|s1= [[lnbPicture]] [idc, [row, column]]


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


|p2= row: [[Number]] - Index of Row
|p2= row: [[Number]] - index of Row


|p3= column: [[Number]] - Index of Column
|p3= column: [[Number]] - index of Column


|r1= [[String]]
|r1= [[String]]


|s2= control [[lnbPicture]] [row, column]
|s2= control [[lnbPicture]] [row, column]


|p21= Control: [[Control]]
|p21= control: [[Control]]


|p22= row: [[Number]] - Index of Row in given Control
|p22= row: [[Number]] - index of Row in given Control


|p23= column: [[Number]] - Index of Column in given Control
|p23= column: [[Number]] - index of Column in given Control


|r2= [[String]]
|r2= [[String]]


|x1= <code>lnbPicture [200, [1, 1]];</code>
|x1= <sqf>lnbPicture [200, [1, 1]];</sqf>


|x2= <code>_control lnbPicture [1, 1]; {{cc|"a3\ui_f\data\gui\cfg\ranks\corporal_gs.paa"</code>}}
|x2= <sqf>_control lnbPicture [1, 1]; // "a3\ui_f\data\gui\cfg\ranks\corporal_gs.paa"</sqf>


|seealso= [[lnbAddArray]] [[lnbAddColumn]] [[lnbAddRow]] [[lnbClear]] [[lnbColor]] [[lnbCurSelRow]] [[lnbData]] [[lnbDeleteColumn]] [[lnbDeleteRow]] [[lnbGetColumnsPosition]] [[lnbSetColor]] [[lnbSetColumnsPos]] [[lnbSetCurSelRow]] [[lnbSetData]] [[lnbSetPicture]] [[lnbSetText]] [[lnbSetValue]] [[lnbSize]] [[lnbText]] [[lnbValue]]
|seealso= [[lnbAddArray]] [[lnbAddColumn]] [[lnbAddRow]] [[lnbClear]] [[lnbColor]] [[lnbCurSelRow]] [[lnbData]] [[lnbDeleteColumn]] [[lnbDeleteRow]] [[lnbGetColumnsPosition]] [[lnbSetColor]] [[lnbSetColumnsPos]] [[lnbSetCurSelRow]] [[lnbSetData]] [[lnbSetPicture]] [[lnbSetText]] [[lnbSetValue]] [[lnbSize]] [[lnbText]] [[lnbValue]]
}}
}}

Latest revision as of 11:46, 5 May 2024

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:
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:
lnbAddArray lnbAddColumn lnbAddRow lnbClear lnbColor lnbCurSelRow lnbData lnbDeleteColumn lnbDeleteRow lnbGetColumnsPosition lnbSetColor lnbSetColumnsPos lnbSetCurSelRow lnbSetData lnbSetPicture lnbSetText lnbSetValue lnbSize lnbText lnbValue

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