lnbPicture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|gr1= GUI Control |GROUP1= |arg= local |Multiplayer Arguments= |eff= local |Multiplayer Effects= |gr1= GUI Control |=GROUP1" to "|arg= local |Multiplayer Arguments= |eff= local |Multiplayer Effects= |gr1= GUI Control |GROUP1=")
Line 16: Line 16:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''lnbPicture''' [IDC, [row, column]] |SYNTAX=
| '''lnbPicture''' [idc, [row, column]] |SYNTAX=
|p1= [IDC, [row, column]]: [[Array]] |PARAMETER1=
 
|p2= IDC: [[Number]] - Number of [[Control]] |PARAMETER2=  
|p1= idc: [[Number]] - Number of [[Control]] |PARAMETER1=
|p3= row: [[Number]] - Index of Row |PARAMETER3=  
 
|p4= column: [[Number]] - Index of Column |PARAMETER4=  
|p2= row: [[Number]] - Index of Row |PARAMETER2=
 
|p3= column: [[Number]] - Index of Column |PARAMETER3=
 
| [[String]] |RETURNVALUE=  
| [[String]] |RETURNVALUE=  


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


|p21= Control: [[Control]] |PARAMETER21
|p21= Control: [[Control]] |PARAMETER21=
|p22= [row, column]: [[Array]] |PARAMETER2=
|p23= row: [[Number]] - Index of Row in given Control |PARAMETER3=
|p24= column: [[Number]] - Index of Column in given Control |PARAMETER4=
|r2= [[String]] |RETURNVALUE2=  


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


|x1= <code>[[lnbPicture]] [200, [1, 1]];</code>|EXAMPLE1=
|p23= column: [[Number]] - Index of Column in given Control |PARAMETER23=


|x2= <code>_control [[lnbPicture]] [1, 1]; //"a3\ui_f\data\gui\cfg\ranks\corporal_gs.paa"</code>|EXAMPLE2=
|r2= [[String]] |RETURNVALUE2=
 
|x1= <code>[[lnbPicture]] [200, [1, 1]];</code> |EXAMPLE1=
 
|x2= <code>_control [[lnbPicture]] [1, 1]; {{cc|"a3\ui_f\data\gui\cfg\ranks\corporal_gs.paa"</code>}} |EXAMPLE2=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[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]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}


Line 51: Line 54:
<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>


[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 02:37, 25 September 2020

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

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

Notes

Bottom Section