lnbPicture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(Added Command Group and Example and Links)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


|p1= [idc,[row,column]: Array -  |= PARAMETER1  
|s2= control '''lnbPicture''' [row, column] |= Syntax
 
|p21= Control: Given [[Control]] |= PARAMETER1  
|p2= |= PARAMETER2  
|p22= [row, column]: [[Array]] |= PARAMETER2  
 
|p23= Row: Index [[Number]] of Row in given Control |= PARAMETER3  
|p3= |= PARAMETER3  
|p24= Column: Index [[Number]] of Column in given Control |= PARAMETER4
 
|r2= [[String]] |= RETURNVALUE  
| [[String]] |= RETURNVALUE  




|x1= <code>(example)</code>|= EXAMPLE1  
|x1= <code>lnbPicture [200, [1, 1]]</code>|= EXAMPLE1  
|x2= <code>_control lnbPicture [1, 1]</code>|= EXAMPLE2


____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[lnbSetPicture]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  
Line 52: Line 57:
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 22:56, 2 January 2011

Hover & click on the images for description

Description

Description:
Returns the picture name 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]

Additional Information

See also:
lnbSetPicture

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

Arma style syntax: _ctrlTable lnbPicture [_row, _col] // _ctrlTable of Control type Example: private "_dspl"; disableSerialization; waitUntil { _dspl = findDisplay 106;  ! isNull _dspl; }; _ctrlTable = _dspl displayCtrl 105; hint str (_ctrlTable lnbPicture [0, 1]);

Bottom Section